f1submodule Cisco-IOS-XR-ipv4-bgp-oper-sub1 {f1submodule Cisco-IOS-XR-ipv4-bgp-oper-sub1 {
2  belongs-to Cisco-IOS-XR-ipv4-bgp-oper {2  belongs-to Cisco-IOS-XR-ipv4-bgp-oper {
3    prefix Cisco-IOS-XR-ipv4-bgp-oper;3    prefix Cisco-IOS-XR-ipv4-bgp-oper;
4  }4  }
55
6  import ietf-inet-types {6  import ietf-inet-types {
7    prefix inet;7    prefix inet;
8  }8  }
9  import ietf-yang-types {9  import ietf-yang-types {
10    prefix yang;10    prefix yang;
11  }11  }
12  import Cisco-IOS-XR-types {12  import Cisco-IOS-XR-types {
13    prefix xr;13    prefix xr;
n14  }n
15  import cisco-semver {
16    prefix semver;
17  }14  }
1815
19  organization16  organization
20    "Cisco Systems, Inc.";17    "Cisco Systems, Inc.";
21  contact18  contact
22    "Cisco Systems, Inc.19    "Cisco Systems, Inc.
23     Customer Service20     Customer Service
24     21     
25     Postal: 170 West Tasman Drive22     Postal: 170 West Tasman Drive
26     San Jose, CA 9513423     San Jose, CA 95134
27     24     
28     Tel: +1 800 553-NETS25     Tel: +1 800 553-NETS
29     26     
30     E-mail: cs-yang@cisco.com";27     E-mail: cs-yang@cisco.com";
31  description28  description
32    "This submodule contains a collection of YANG definitions29    "This submodule contains a collection of YANG definitions
33     for Cisco IOS-XR ipv4-bgp package operational data.30     for Cisco IOS-XR ipv4-bgp package operational data.
34     31     
n35     Copyright (c) 2013-2024 by Cisco Systems, Inc.n32     Copyright (c) 2013-2018 by Cisco Systems, Inc.
36     All rights reserved.";33     All rights reserved.";
3734
n38  revision 2024-04-29 {n
39    description
40      "Modified BGP Prefix Stats bag
41       2024-04-29
42         Added LastOORRecovery for perf process af vrf
43       2024-04-29
44         Added BGP ECMP and prefix tuple bag
45       2024-02-15
46         Added new fields for process info af vrf
47       2024-02-15
48         Added new fields for perf process af vrf
49       2024-02-15
50         Added new fields for bgp nbr af
51       2024-01-31
52         Obsoleted container bmp-paths
53       2023-12-20
54         Added new fields for process info af vrf
55       2023-12-20
56         Added new fields for process info af gbl
57       2023-12-20
58         Added new fields for net bag
59       2023-12-20
60         Added new fields for bgp nbr af
61       2023-12-08
62         Added new field for srv6 mode and srv6 locator id in net bag
63       2023-12-05
64         Added new field to dry run policy stats bag for walk resume/completion
65       2023-12-04
66         Added new bag for memory high water mark table
67       2023-11-10
68         Added readQs and writeQs size to optimise show bgp convergence command
69       2023-10-25
70         Changed variables for show bgp version and show bmp table version commands from string to uint64
71       2023-10-22
72         Added new segment-list and odn type for sr policy nexthop
73       2023-10-20
74         Added Policy based nexthop-self information in process details
75       2023-10-02
76         Added new field to dry run policy stats bag
77       2023-09-27
78         Changed rib-convergence-version from uint64 to uint32
79       2023-09-13
80         Updated BGP neighbor, session, NSR and nexthop models for monitoring enhancements
81       2023-08-23
82         New command show bgp l2vpn evpn gateway-track
83       2023-08-09
84         Modified range of memory-info-entry index
85       2023-07-28
86         Dry run policy stats change added.
87       2023-07-05
88         Added new field to neighbor bag related to sync elem flag
89       2023-06-19
90         Update show bgp vpnv4 unicast rd prefix to include allocated and received secondary label
91       2023-04-28
92         Added show bgp memory history command
93       2023-04-19
94         Added new field to net bag
95       2023-02-03
96         Updated show bgp nexthop-set output to include retain-counter and show bgp label to include RPC information
97       2023-01-18
98         Updated BMP path information to include link-local nexthop and netxhop route-distinguisher information
99       2023-01-10
100         Added support for Pre-policy mode convergence and updated BGP-BMP-CONVERGENCE-BAG grouping
101       2022-12-22
102         Changed neighbor bag for LPTS secure binding
103       2022-12-11
104         Updated Neighbor show command to include evpn-link-bandwidth values.
105       2022-11-11
106         Modified type of Last Received Message in per-neighbor information
107       2022-11-03
108         Added oc-rib attribute index in BGP path information
109       2022-10-14
110         Added Last Received Message for per neighbor
111       2022-10-06
112         Added server states in per BMP server convergence data
113       2022-10-04
114         Added delay and other timers for BMP server
115       2022-09-23
116         Added BMP route-monitoring suport for L3VPN inbound post-policy and Local RIB, Deprecated container policy under route-monitoring
117       2022-09-21
118         Added prefix received counter to count the routes received before ingress policy run
119       2022-06-02
120         Added update wait install delay leaf.
121       2022-05-17
122         Added srte bgp prefix label ignore flag to nexthop
123       2022-02-18
124         Added interface-name key to next-hop-af leaf.
125       2022-02-07
126         Added address family string under af-array
127       2021-11-29
128         Added next hop encapsulation type for MPLS over UDP tunnel
129       2021-11-15
130         Added interafi leak information in update out
131       2021-11-12
132         Updated convergence operational information
133       2021-11-09
134         Added oper for Nexthop sync slot";
135    semver:module-version "6.0.0";
136  }
137  revision 2021-10-16 {
138    description
139      "Added Oper for mamximum-paths deterministic
140       2021-06-27
141          Added PathLocalSidTable and PathReceivedSidTable";
142    semver:module-version "5.0.0";
143  }
144  revision 2021-05-10 {
145    description
146      "Added platform capability mix srte CLI
147       2021-03-15
148           Added Export Allow Config for backup
149       2021-03-05
150           Deprecated Hidden commands
151       2021-03-05
152           Added SR Policy Path Prefernce in Bestpath Compare
153       2020-10-04
154           Added Soft NextHop Validation and Metric
155       2020-09-30
156           Added LATEST bestpath comparison reason
157       2020-09-18
158           Added SRv6 TE BSID information
159       2020-07-15
160           Changed VRFDBVRFTable pathformat";
161    semver:module-version "4.0.0";
162  }
163  revision 2020-06-23 {
164    description
165      "changed the afi from integer to string in BPM entities
166       2020-03-30
167         Extended flags to 16 bits and changed leaf names as per convention";
168    semver:module-version "3.0.0";
169  }
170  revision 2020-01-11 {
171    description
172      "Fixing invalid range for prefix length.
173       2019-08-31
174         Fixing revision error in module.";
175    semver:module-version "2.0.0";
176  }
177  revision 2019-04-05 {
178    description
179      "Fixing backward compatibility error in module";
180    semver:module-version "1.0.0";
181  }
182  revision 2019-04-05 {
183    description
184      "Added schema for opercoverage missing paths";
185  }
186  revision 2019-04-05 {
187    description
188      "Establish semantic version baseline.";
189  }
190  revision 2017-09-07 {35  revision 2017-09-07 {
191    description36    description
192      "Fixed type translation error.";37      "Fixed type translation error.";
193  }38  }
194  revision 2017-06-26 {39  revision 2017-06-26 {
195    description40    description
196      "Change identifiers to be more readable.";41      "Change identifiers to be more readable.";
197  }42  }
198  revision 2017-05-01 {43  revision 2017-05-01 {
199    description44    description
200      "Fixing backward compatibility error in module.";45      "Fixing backward compatibility error in module.";
201  }46  }
202  revision 2015-08-27 {47  revision 2015-08-27 {
203    description48    description
204      "IOS XR 5.3.2 revision.";49      "IOS XR 5.3.2 revision.";
205  }50  }
20651
207  typedef Bgp-label-rpf-install {52  typedef Bgp-label-rpf-install {
208    type enumeration {53    type enumeration {
209      enum "bgp-label-rpf-install-rib" {54      enum "bgp-label-rpf-install-rib" {
210        value 0;55        value 0;
211        description56        description
212          "Install via RIB";57          "Install via RIB";
213      }58      }
214      enum "bgp-label-rpf-install-lsd" {59      enum "bgp-label-rpf-install-lsd" {
215        value 1;60        value 1;
216        description61        description
217          "Install via LSD";62          "Install via LSD";
218      }63      }
219    }64    }
220    description65    description
221      "BGP Label RPF Install Path";66      "BGP Label RPF Install Path";
222  }67  }
22368
224  typedef Bgp-rpki-perror {69  typedef Bgp-rpki-perror {
225    type enumeration {70    type enumeration {
226      enum "none" {71      enum "none" {
227        description72        description
228          "No protocol error";73          "No protocol error";
229      }74      }
230      enum "message-version" {75      enum "message-version" {
231        description76        description
232          "Message version error";77          "Message version error";
233      }78      }
234      enum "message-type" {79      enum "message-type" {
235        description80        description
236          "Message type error";81          "Message type error";
237      }82      }
238      enum "message-length" {83      enum "message-length" {
239        description84        description
240          "Message length error";85          "Message length error";
241      }86      }
242      enum "nonce-mismatch" {87      enum "nonce-mismatch" {
243        description88        description
244          "Server nonce mismatch";89          "Server nonce mismatch";
245      }90      }
246      enum "bad-prefix" {91      enum "bad-prefix" {
247        description92        description
248          "Bad ROA";93          "Bad ROA";
249      }94      }
250      enum "fsm" {95      enum "fsm" {
251        description96        description
252          "FSM error";97          "FSM error";
253      }98      }
254      enum "no-response" {99      enum "no-response" {
255        description100        description
256          "No response from server";101          "No response from server";
257      }102      }
258      enum "error-report" {103      enum "error-report" {
259        description104        description
260          "Server sent error-report";105          "Server sent error-report";
261      }106      }
262    }107    }
263    description108    description
264      "Bgp rpki perror";109      "Bgp rpki perror";
265  }110  }
266111
267  typedef Bgp-rpki-pstate {112  typedef Bgp-rpki-pstate {
268    type enumeration {113    type enumeration {
269      enum "not-started" {114      enum "not-started" {
270        description115        description
271          "Server protocol has not started";116          "Server protocol has not started";
272      }117      }
273      enum "reset" {118      enum "reset" {
274        description119        description
275          "Server protocol reset";120          "Server protocol reset";
276      }121      }
277      enum "refresh" {122      enum "refresh" {
278        description123        description
279          "Server protocol resumed";124          "Server protocol resumed";
280      }125      }
281      enum "reset-query-sent" {126      enum "reset-query-sent" {
282        description127        description
283          "Reset query sent to server";128          "Reset query sent to server";
284      }129      }
285      enum "serial-query-sent" {130      enum "serial-query-sent" {
286        description131        description
287          "Serial query sent to server";132          "Serial query sent to server";
288      }133      }
289      enum "data-start" {134      enum "data-start" {
290        description135        description
291          "Server started sending data";136          "Server started sending data";
292      }137      }
293      enum "data-end" {138      enum "data-end" {
294        description139        description
295          "Server ended sending data";140          "Server ended sending data";
296      }141      }
297    }142    }
298    description143    description
299      "Bgp rpki pstate";144      "Bgp rpki pstate";
300  }145  }
301146
302  typedef Bgp-rpki-creason {147  typedef Bgp-rpki-creason {
303    type enumeration {148    type enumeration {
304      enum "no-close-reason" {149      enum "no-close-reason" {
305        value 0;150        value 0;
306        description151        description
307          "No close reason";152          "No close reason";
308      }153      }
309      enum "read-error" {154      enum "read-error" {
310        value 1;155        value 1;
311        description156        description
312          "Socket Read error";157          "Socket Read error";
313      }158      }
314      enum "write-error" {159      enum "write-error" {
315        value 2;160        value 2;
316        description161        description
317          "Socket Write error";162          "Socket Write error";
318      }163      }
319      enum "proto-error" {164      enum "proto-error" {
320        value 3;165        value 3;
321        description166        description
322          "Protocol error";167          "Protocol error";
323      }168      }
324      enum "config-shutdown" {169      enum "config-shutdown" {
325        value 4;170        value 4;
326        description171        description
327          "Shutdown by configuration";172          "Shutdown by configuration";
328      }173      }
329      enum "config-removed" {174      enum "config-removed" {
330        value 5;175        value 5;
331        description176        description
332          "Configuration removed";177          "Configuration removed";
333      }178      }
334      enum "config-changed" {179      enum "config-changed" {
335        value 6;180        value 6;
336        description181        description
337          "Configuration changed";182          "Configuration changed";
338      }183      }
339      enum "nsr-disabled" {184      enum "nsr-disabled" {
340        value 7;185        value 7;
341        description186        description
342          "NSR disabled";187          "NSR disabled";
343      }188      }
344      enum "user-clear" {189      enum "user-clear" {
345        value 8;190        value 8;
346        description191        description
347          "Explicity user clear";192          "Explicity user clear";
348      }193      }
349      enum "ssh-died" {194      enum "ssh-died" {
350        value 9;195        value 9;
351        description196        description
352          "SSH process died";197          "SSH process died";
353      }198      }
354      enum "tcp-died" {199      enum "tcp-died" {
355        value 10;200        value 10;
356        description201        description
357          "TCP process died";202          "TCP process died";
358      }203      }
359    }204    }
360    description205    description
361      "Bgp rpki creason";206      "Bgp rpki creason";
362  }207  }
363208
364  typedef Bgp-rpki-state {209  typedef Bgp-rpki-state {
365    type enumeration {210    type enumeration {
366      enum "idle" {211      enum "idle" {
367        value 0;212        value 0;
368        description213        description
369          "Server is idle";214          "Server is idle";
370      }215      }
371      enum "attempt-connect" {216      enum "attempt-connect" {
372        value 1;217        value 1;
373        description218        description
374          "Connect attempt made to server";219          "Connect attempt made to server";
375      }220      }
376      enum "connected" {221      enum "connected" {
377        value 2;222        value 2;
378        description223        description
379          "Server is connected";224          "Server is connected";
380      }225      }
381    }226    }
382    description227    description
383      "Bgp rpki state";228      "Bgp rpki state";
384  }229  }
385230
386  typedef Bgp-ism-conn-state {231  typedef Bgp-ism-conn-state {
387    type enumeration {232    type enumeration {
388      enum "none" {233      enum "none" {
389        description234        description
390          "None - ST 0";235          "None - ST 0";
391      }236      }
392      enum "connect-done" {237      enum "connect-done" {
393        description238        description
394          "ISSUMgr connection done - ST 1";239          "ISSUMgr connection done - ST 1";
395      }240      }
396    }241    }
397    description242    description
398      "Bgp ism conn state";243      "Bgp ism conn state";
399  }244  }
400245
401  typedef Bgp-ds-conn-state {246  typedef Bgp-ds-conn-state {
402    type enumeration {247    type enumeration {
403      enum "none" {248      enum "none" {
404        description249        description
405          "DS connection not initiated - ST 0";250          "DS connection not initiated - ST 0";
406      }251      }
407      enum "connect-init" {252      enum "connect-init" {
408        description253        description
409          "DS connection initiated - ST 1";254          "DS connection initiated - ST 1";
410      }255      }
411      enum "connect-fail" {256      enum "connect-fail" {
412        description257        description
413          "DS connection failed - ST 2";258          "DS connection failed - ST 2";
414      }259      }
415      enum "connect-estb" {260      enum "connect-estb" {
416        description261        description
417          "DS connection established - ST 3";262          "DS connection established - ST 3";
418      }263      }
419      enum "disconnect-init" {264      enum "disconnect-init" {
420        description265        description
421          "DS disconnect initiated - ST 4";266          "DS disconnect initiated - ST 4";
422      }267      }
423      enum "disconnect-fail" {268      enum "disconnect-fail" {
424        description269        description
425          "DS disconnect failed - ST 5";270          "DS disconnect failed - ST 5";
426      }271      }
427      enum "disconnect-done" {272      enum "disconnect-done" {
428        description273        description
429          "DS disconnect done - ST 6";274          "DS disconnect done - ST 6";
430      }275      }
431    }276    }
432    description277    description
433      "Bgp ds conn state";278      "Bgp ds conn state";
434  }279  }
435280
436  typedef Bgp-scoped-sync-state {281  typedef Bgp-scoped-sync-state {
437    type enumeration {282    type enumeration {
438      enum "bgp-scope-sync-state-none" {283      enum "bgp-scope-sync-state-none" {
439        description284        description
440          "State none";285          "State none";
441      }286      }
442      enum "bgp-scope-sync-state-not-nsr-ready" {287      enum "bgp-scope-sync-state-not-nsr-ready" {
443        description288        description
444          "Oper Down when NSR not ready";289          "Oper Down when NSR not ready";
445      }290      }
446      enum "bgp-scope-sync-state-timer-start" {291      enum "bgp-scope-sync-state-timer-start" {
447        description292        description
448          "Timer started for active batch";293          "Timer started for active batch";
449      }294      }
450      enum "bgp-scope-sync-state-add-list" {295      enum "bgp-scope-sync-state-add-list" {
451        description296        description
452          "Start adding neighbors to pending batch";297          "Start adding neighbors to pending batch";
453      }298      }
454      enum "bgp-scope-sync-state-batch-acitve" {299      enum "bgp-scope-sync-state-batch-acitve" {
455        description300        description
456          "Active batch";301          "Active batch";
457      }302      }
458    }303    }
459    description304    description
460      "Bgp scoped sync state";305      "Bgp scoped sync state";
461  }306  }
462307
463  typedef Bgp-bmp-upd-mode {308  typedef Bgp-bmp-upd-mode {
464    type enumeration {309    type enumeration {
465      enum "bgp-bmp-upd-n-either" {310      enum "bgp-bmp-upd-n-either" {
466        value 0;311        value 0;
467        description312        description
468          "Neither of the modes are enabled";313          "Neither of the modes are enabled";
469      }314      }
470      enum "bgp-bmp-upd-route-mon" {315      enum "bgp-bmp-upd-route-mon" {
471        value 1;316        value 1;
472        description317        description
473          "Route Monotoring mode enabled";318          "Route Monotoring mode enabled";
474      }319      }
475      enum "bgp-bmp-upd-route-mirr" {320      enum "bgp-bmp-upd-route-mirr" {
476        value 2;321        value 2;
477        description322        description
478          "Route Mirroring mode is enabled";323          "Route Mirroring mode is enabled";
479      }324      }
480    }325    }
481    description326    description
482      "Bgp bmp upd mode";327      "Bgp bmp upd mode";
483  }328  }
484329
485  typedef Bgp-bmp-state {330  typedef Bgp-bmp-state {
486    type enumeration {331    type enumeration {
487      enum "none" {332      enum "none" {
488        value 0;333        value 0;
489        description334        description
490          "BMP NOT Connected";335          "BMP NOT Connected";
491      }336      }
492      enum "connecting" {337      enum "connecting" {
493        value 1;338        value 1;
494        description339        description
495          "BMP Under Connection";340          "BMP Under Connection";
496      }341      }
497      enum "established" {342      enum "established" {
498        value 2;343        value 2;
499        description344        description
500          "BMP Connection Established";345          "BMP Connection Established";
501      }346      }
502      enum "closing" {347      enum "closing" {
503        value 3;348        value 3;
504        description349        description
505          "BMP Connection Closing";350          "BMP Connection Closing";
506      }351      }
507    }352    }
508    description353    description
509      "BMP Connection State";354      "BMP Connection State";
510  }355  }
511356
512  typedef Bgp-bag-upd-filter-action {357  typedef Bgp-bag-upd-filter-action {
513    type enumeration {358    type enumeration {
514      enum "none" {359      enum "none" {
515        value 0;360        value 0;
516        description361        description
517          "No Action";362          "No Action";
518      }363      }
519      enum "withdraw" {364      enum "withdraw" {
520        value 1;365        value 1;
521        description366        description
522          "Withdraw NLRI";367          "Withdraw NLRI";
523      }368      }
524      enum "attribute-discard" {369      enum "attribute-discard" {
525        value 2;370        value 2;
526        description371        description
527          "Discard Attribute";372          "Discard Attribute";
528      }373      }
529    }374    }
530    description375    description
531      "Bgp bag upd filter action";376      "Bgp bag upd filter action";
532  }377  }
533378
534  typedef Bgp-bag-upd-err-action {379  typedef Bgp-bag-upd-err-action {
535    type enumeration {380    type enumeration {
536      enum "bgp-bag-upd-err-action-none" {381      enum "bgp-bag-upd-err-action-none" {
537        value 0;382        value 0;
538        description383        description
539          "No Action";384          "No Action";
540      }385      }
541      enum "bgp-bag-upd-err-action-discard-msg" {386      enum "bgp-bag-upd-err-action-discard-msg" {
542        value 1;387        value 1;
543        description388        description
544          "Discard Message";389          "Discard Message";
545      }390      }
546      enum "bgp-bag-upd-err-action-reset" {391      enum "bgp-bag-upd-err-action-reset" {
547        value 2;392        value 2;
548        description393        description
549          "Session Reset";394          "Session Reset";
550      }395      }
551      enum "bgp-bag-upd-err-action-wdr-or-reset" {396      enum "bgp-bag-upd-err-action-wdr-or-reset" {
552        value 3;397        value 3;
553        description398        description
554          "Withdraw NLRI or Reset";399          "Withdraw NLRI or Reset";
555      }400      }
556      enum "bgp-bag-upd-err-action-wdr" {401      enum "bgp-bag-upd-err-action-wdr" {
557        value 4;402        value 4;
558        description403        description
559          "Withdraw NLRI";404          "Withdraw NLRI";
560      }405      }
561      enum "bgp-bag-upd-err-action-discard-attr" {406      enum "bgp-bag-upd-err-action-discard-attr" {
562        value 5;407        value 5;
563        description408        description
564          "Discard Attribute";409          "Discard Attribute";
565      }410      }
566      enum "bgp-bag-upd-err-action-local-repair" {411      enum "bgp-bag-upd-err-action-local-repair" {
567        value 6;412        value 6;
568        description413        description
569          "Local Repair";414          "Local Repair";
570      }415      }
571      enum "bgp-bag-upd-err-action-max" {416      enum "bgp-bag-upd-err-action-max" {
572        value 7;417        value 7;
573        description418        description
574          "Maximum number of actions";419          "Maximum number of actions";
575      }420      }
576    }421    }
577    description422    description
578      "Bgp bag upd err action";423      "Bgp bag upd err action";
579  }424  }
580425
n581  typedef Bgp-odn-policy {n426  typedef Bgp-sync-nbr-nsr-state {
582    type enumeration {427    type enumeration {
n583      enum "bgp-odn-policy-type-srmpls" {n428      enum "bgp-nbr-nsr-st-none" {
584        value 0;
585        description
586          "On Demand Nexthop SR Policy type MPLS";
587      }
588      enum "bgp-odn-policy-type-srv6" {
589        value 1;
590        description
591          "On Demand Nexthop SR Policy type SRV6";
592      }
593    }
594    description429        description
595      "Bgp odn policy";430          "None - ST 0";
596  }
597 
598  typedef Bgp-updgen-nbr-refresh-state {
599    type enumeration {
600      enum "bgp-upd-refresh-nbr-none" {
601        value 0;
602        description
603          "Neighbor is not it Refresh Subgroup";
604      }
605      enum "bgp-upd-refresh-nbr-refresh" {
606        value 1;
607        description
608          "Neighbor is processing Refresh";
609      }
610      enum "bgp-upd-refresh-nbr-s-low" {
611        value 2;
612        description
613          "Neighbor is processing Slow(dynamic)";
614      }
615      enum "bgp-upd-refresh-nbr-rtc" {
616        value 3;
617        description
618          "Neighbor is processing RTC";
619      }
620      enum "bgp-upd-refresh-nbr-s-low-rtc" {
621        value 4;
622        description
623          "Neighbor is processing Slow and RTC";
624      }
625    }431      }
432      enum "bgp-nbr-nsr-st-oper-down" {
626    description433        description
627      "Bgp updgen nbr refresh state";434          "TCP OPER_DOWN notfn received - ST 1";
628  }
629 
630  typedef Bgp-slow-peer-static-dynamic {
631    type enumeration {
632      enum "bgp-s-low-peer-upd-gen-other" {
633        value 0;
634        description
635          "Slow peer is other than static and dynamic
636           detected";
637      }
638      enum "bgp-s-low-peer-upd-gen-static" {
639        value 1;
640        description
641          "Slow peer is static";
642      }
643      enum "bgp-s-low-peer-upd-gen-dyn-detected" {
644        value 2;
645        description
646          "Slow peer is dynamic detected";
647      }
648    }435      }
436      enum "bgp-nbr-nsr-st-tcp-init-sync" {
649    description437        description
650      "BGP slow peer state";438          "TCP initial sync in progress - ST 2";
651  }
652 
653  typedef Bgp-message {
654    type enumeration {
655      enum "none" {
656        description
657          "None";
658      }
659      enum "open" {
660        description
661          "Open";
662      }
663      enum "update" {
664        description
665          "Update";
666      }
667      enum "notification" {
668        description
669          "Notification";
670      }
671      enum "keepalive" {
672        description
673          "KeepAlive";
674      }
675      enum "refresh-req" {
676        description
677          "Route-Refresh Request";
678      }
679    }439      }
440      enum "bgp-nbr-nsr-st-tcp-phase-two" {
680    description441        description
681      "Bgp message";442          "TCP initial sync phase two in progress - ST 3";
682  }
683 
684  typedef Bgp-gshut-bw-edm-state {
685    type enumeration {
686      enum "bgp-gshut-bw-edm-state-init" {
687        value 0;
688        description
689          "Not Configured";
690      }
691      enum "bgp-gshut-bw-edm-state-validate" {
692        value 1;
693        description
694          "Validating Update";
695      }
696      enum "bgp-gshut-bw-edm-state-no-op" {
697        value 2;
698        description
699          "Non Operational";
700      }
701      enum "bgp-gshut-bw-edm-state-learn" {
702        value 3;
703        description
704          "Learning from Interface";
705      }
706      enum "bgp-gshut-bw-edm-state-compute" {
707        value 4;
708        description
709          "Processing";
710      }
711      enum "bgp-gshut-bw-edm-state-active" {
712        value 5;
713        description
714          "Graceful-Maintenance Active";
715      }
716      enum "bgp-gshut-bw-edm-state-inactive" {
717        value 6;
718        description
719          "Inactive as Bandwidth threshold met";
720      }
721      enum "bgp-gshut-bw-edm-state-max" {
722        value 7;
723        description
724          "Invalid State";
725      }
726    }443      }
444      enum "bgp-nbr-nsr-st-bgp-init-sync" {
727    description445        description
728      "Bgp gshut bw edm state";446          "BGP initial sync in progress - ST 4";
729  }
730 
731  typedef Bgp-slow-peer-state {
732    type enumeration {
733      enum "bgp-s-low-peer-none-state" {
734        value 0;
735        description
736          "Slow peer is none";
737      }
738      enum "bgp-s-low-peer-static-state" {
739        value 1;
740        description
741          "Slow peer is static";
742      }
743      enum "bgp-s-low-peer-dynamic-state" {
744        value 2;
745        description
746          "Slow peer is dynamic";
747      }
748      enum "bgp-s-low-peer-detection-only-state" {
749        value 3;
750        description
751          "Slow peer is detection-only";
752      }
753    }447      }
448      enum "bgp-nbr-nsr-st-nsr-ready" {
754    description449        description
755      "BGP slow peer state";450          "Neighbor NSR ready - ST 5";
451      }
756  }452    }
757 
758  typedef Bgp-track-state {
759    type enumeration {
760      enum "bgp-track-state-unknown" {
761        value 0;
762        description453    description
763          "Track state is Unknown";454      "Bgp sync nbr nsr state";
764      }
765      enum "bgp-track-state-down" {
766        value 1;
767        description
768          "Track state is Down";
769      }
770      enum "bgp-track-state-up" {
771        value 2;
772        description
773          "Track state is Up";
774      }
775    }
776    description
777      "BGP Track state";
778  }455  }
779456
780  typedef Bgp-peer-reset-reason-index {457  typedef Bgp-peer-reset-reason-index {
781    type enumeration {458    type enumeration {
782      enum "bgp-read-remote-closed" {459      enum "bgp-read-remote-closed" {
783        value 1;460        value 1;
784        description461        description
785          "Remote closed the session";462          "Remote closed the session";
786      }463      }
787      enum "bgp-read-failed" {464      enum "bgp-read-failed" {
788        value 2;465        value 2;
789        description466        description
790          "Read failed";467          "Read failed";
791      }468      }
792      enum "bgp-write-failed" {469      enum "bgp-write-failed" {
793        value 3;470        value 3;
794        description471        description
795          "Write failed";472          "Write failed";
796      }473      }
797      enum "bgp-sock-disconnected" {474      enum "bgp-sock-disconnected" {
798        value 4;475        value 4;
799        description476        description
800          "Socket disconnected";477          "Socket disconnected";
801      }478      }
802      enum "bgp-sock-select-failed" {479      enum "bgp-sock-select-failed" {
803        value 5;480        value 5;
804        description481        description
805          "Socket select failed";482          "Socket select failed";
806      }483      }
807      enum "bgp-peer-reset-reason-none" {484      enum "bgp-peer-reset-reason-none" {
808        value 6;485        value 6;
809        description486        description
810          "None";487          "None";
811      }488      }
812    }489    }
813    description490    description
814      "Bgp peer reset reason index";491      "Bgp peer reset reason index";
815  }492  }
816493
817  typedef Bgp-reset-reason-index {494  typedef Bgp-reset-reason-index {
818    type enumeration {495    type enumeration {
819      enum "bgp-none" {496      enum "bgp-none" {
820        value 0;497        value 0;
821        description498        description
822          "None";499          "None";
823      }500      }
824      enum "bgp-init" {501      enum "bgp-init" {
825        value 1;502        value 1;
826        description503        description
827          "BGP neighbor initialized";504          "BGP neighbor initialized";
828      }505      }
829      enum "bgp-no-memory" {506      enum "bgp-no-memory" {
830        value 2;507        value 2;
831        description508        description
832          "No memory";509          "No memory";
833      }510      }
834      enum "not-received" {511      enum "not-received" {
835        value 3;512        value 3;
836        description513        description
837          "BGP Notification received";514          "BGP Notification received";
838      }515      }
839      enum "not-sent" {516      enum "not-sent" {
840        value 4;517        value 4;
841        description518        description
842          "BGP Notification sent";519          "BGP Notification sent";
843      }520      }
844      enum "conn-collision" {521      enum "conn-collision" {
845        value 5;522        value 5;
846        description523        description
847          "Error during connection collision";524          "Error during connection collision";
848      }525      }
849      enum "peer-closed" {526      enum "peer-closed" {
850        value 6;527        value 6;
851        description528        description
852          "Peer closing down the session";529          "Peer closing down the session";
853      }530      }
854      enum "max-prefix-exceeded" {531      enum "max-prefix-exceeded" {
855        value 7;532        value 7;
856        description533        description
857          "Peer exceeding maximum prefix limit";534          "Peer exceeding maximum prefix limit";
858      }535      }
859      enum "interface-flap" {536      enum "interface-flap" {
860        value 8;537        value 8;
861        description538        description
862          "Interface flap";539          "Interface flap";
863      }540      }
864      enum "neighbor-deleted" {541      enum "neighbor-deleted" {
865        value 9;542        value 9;
866        description543        description
867          "Neighbor deleted";544          "Neighbor deleted";
868      }545      }
869      enum "admin-shutdown" {546      enum "admin-shutdown" {
870        value 10;547        value 10;
871        description548        description
872          "Admin. shutdown";549          "Admin. shutdown";
873      }550      }
874      enum "af-activated" {551      enum "af-activated" {
875        value 11;552        value 11;
876        description553        description
877          "Address family activated";554          "Address family activated";
878      }555      }
879      enum "af-deactivated" {556      enum "af-deactivated" {
880        value 12;557        value 12;
881        description558        description
882          "Address family removed";559          "Address family removed";
883      }560      }
884      enum "protocol-error" {561      enum "protocol-error" {
885        value 13;562        value 13;
886        description563        description
887          "Protocol Error";564          "Protocol Error";
888      }565      }
889      enum "listen-closed" {566      enum "listen-closed" {
890        value 14;567        value 14;
891        description568        description
892          "Listen socket was closed";569          "Listen socket was closed";
893      }570      }
894      enum "rib-failed" {571      enum "rib-failed" {
895        value 15;572        value 15;
896        description573        description
897          "Routing Table process not responding";574          "Routing Table process not responding";
898      }575      }
899      enum "user-clear" {576      enum "user-clear" {
900        value 16;577        value 16;
901        description578        description
902          "User clear requested";579          "User clear requested";
903      }580      }
904      enum "user-clear-gr" {581      enum "user-clear-gr" {
905        value 17;582        value 17;
906        description583        description
907          "User clear with graceful restart requested";584          "User clear with graceful restart requested";
908      }585      }
909      enum "router-id-changed" {586      enum "router-id-changed" {
910        value 18;587        value 18;
911        description588        description
912          "Router ID changed";589          "Router ID changed";
913      }590      }
914      enum "remote-as-changed" {591      enum "remote-as-changed" {
915        value 19;592        value 19;
916        description593        description
917          "Remote AS configuration changed";594          "Remote AS configuration changed";
918      }595      }
919      enum "orf-changed" {596      enum "orf-changed" {
920        value 20;597        value 20;
921        description598        description
922          "Outbound route filter configuration changed";599          "Outbound route filter configuration changed";
923      }600      }
924      enum "rr-client-changed" {601      enum "rr-client-changed" {
925        value 21;602        value 21;
926        description603        description
927          "RR client configuration changed";604          "RR client configuration changed";
928      }605      }
929      enum "legacy-pe-rt-changed" {606      enum "legacy-pe-rt-changed" {
930        value 22;607        value 22;
931        description608        description
932          "Legacy-pe-RT configuration changed";609          "Legacy-pe-RT configuration changed";
933      }610      }
934      enum "softre-config-changed" {611      enum "softre-config-changed" {
935        value 23;612        value 23;
936        description613        description
937          "Soft reconfiguration configuration changed";614          "Soft reconfiguration configuration changed";
938      }615      }
939      enum "local-as-changed" {616      enum "local-as-changed" {
940        value 24;617        value 24;
941        description618        description
942          "Local AS configuration changed";619          "Local AS configuration changed";
943      }620      }
944      enum "low-memory" {621      enum "low-memory" {
945        value 25;622        value 25;
946        description623        description
947          "Shutdown during SEVERE low memory condition";624          "Shutdown during SEVERE low memory condition";
948      }625      }
949      enum "bfd-down" {626      enum "bfd-down" {
950        value 26;627        value 26;
951        description628        description
952          "BFD (Bidirectional forwarding detection)629          "BFD (Bidirectional forwarding detection)
953           session down";630           session down";
954      }631      }
955      enum "allow-as-in-changed" {632      enum "allow-as-in-changed" {
956        value 27;633        value 27;
957        description634        description
958          "Allowas-in configuration has changed";635          "Allowas-in configuration has changed";
959      }636      }
n960      enum "allow-confedas-in-changed" {n637      enum "recv-dmz-cfg" {
961        value 28;638        value 28;
962        description639        description
n963          "Allowconfedas-in configuration has changed";n640          "Recv DMZ Config changed";
964      }641      }
n965      enum "recv-dmz-cfg" {n642      enum "cap-4byteas-changed" {
966        value 29;643        value 29;
967        description644        description
n968          "Recv DMZ Config changed";n645          "Capablity 4-byte-as configuration has changed";
969      }646      }
n970      enum "cap-4byteas-changed" {n647      enum "tcp-oper-down" {
971        value 30;648        value 30;
972        description649        description
n973          "Capablity 4-byte-as configuration has changed";n650          "Received tcp oper down";
974      }651      }
n975      enum "tcp-oper-down" {n652      enum "scoped-sync-retry" {
976        value 31;653        value 31;
977        description654        description
n978          "Received tcp oper down";n655          "Scoped sync is repeated due to strict
656           prefix check failure";
979      }657      }
n980      enum "scoped-sync-retry" {n658      enum "cluster-id-changed" {
981        value 32;659        value 32;
982        description660        description
n983          "Scoped sync is repeated due to strict prefixn661          "Neighbor moved to a new cluster";
984           check failure";
985      }662      }
n986      enum "cluster-id-changed" {n663      enum "rr-disable-changed" {
987        value 33;664        value 33;
n988        descriptionn
989          "Neighbor moved to a new cluster";
990      }
991      enum "rr-disable-changed" {
992        value 34;
993        description665        description
994          "Client-to-client reflection disabled/enabled666          "Client-to-client reflection disabled/enabled
995           for cluster to which neighbor belongs";667           for cluster to which neighbor belongs";
996      }668      }
997      enum "aigp-changed" {669      enum "aigp-changed" {
nn670        value 34;
671        description
672          "AIGP configuration has changed
673           for cluster to which neighbor belongs";
674      }
675      enum "signalling-changed" {
998        value 35;676        value 35;
999        description677        description
n1000          "AIGP configuration has changed for cluster ton678          "L2VPN Signalling Changed";
1001           which neighbor belongs";
1002      }679      }
n1003      enum "signalling-changed" {n680      enum "open-check-s-failed" {
1004        value 36;681        value 36;
1005        description682        description
n1006          "L2VPN Signalling Changed";n683          "Session open checks failed";
1007      }684      }
n1008      enum "open-check-s-failed" {n685      enum "ao-changed" {
1009        value 37;686        value 37;
1010        description687        description
n1011          "Session open checks failed";n688          "Accept-own changed";
1012      }689      }
n1013      enum "ao-changed" {n690      enum "llgr-staletime-changed" {
1014        value 38;691        value 38;
n1015        descriptionn
1016          "Accept-own changed";
1017      }
1018      enum "llgr-staletime-changed" {
1019        value 39;
1020        description692        description
1021          "Long-lived graceful-restart stale-time693          "Long-lived graceful-restart stale-time
1022           configuration changed";694           configuration changed";
1023      }695      }
1024      enum "llgr-capable-changed" {696      enum "llgr-capable-changed" {
n1025        value 40;n697        value 39;
1026        description698        description
1027          "Long-lived graceful-restart capable699          "Long-lived graceful-restart capable
1028           configuration changed";700           configuration changed";
1029      }701      }
1030      enum "nbr-local-addr-changed" {702      enum "nbr-local-addr-changed" {
nn703        value 40;
704        description
705          "Neighbor local address configuration changed";
706      }
707      enum "internal-vpn-client-changed" {
1031        value 41;708        value 41;
1032        description709        description
n1033          "Neighbor local address configuration changed";n710          "Internal-vpn-client configuration changed";
1034      }711      }
n1035      enum "internal-vpn-client-changed" {n712      enum "cap-suppress-all-changed" {
1036        value 42;713        value 42;
1037        description714        description
n1038          "Internal-vpn-client configuration changed";n715          "All capabilities suppression changed";
1039      }716      }
n1040      enum "cap-suppress-all-changed" {n717      enum "next-hop-changed" {
1041        value 43;718        value 43;
1042        description719        description
n1043          "All capabilities suppression changed";n
1044      }
1045      enum "next-hop-changed" {
1046        value 44;
1047        description
1048          "Next hop configuration changed";720          "Next hop configuration changed";
n1049      }n
1050      enum "cap-suppress-enhe-changed" {
1051        value 45;
1052        description
1053          "Extended-nexthop-encoding capability
1054           suppression changed";
1055      }721      }
1056    }722    }
1057    description723    description
1058      "Bgp reset reason index";724      "Bgp reset reason index";
1059  }725  }
1060726
1061  typedef Bgp-bfd-enable-mode {727  typedef Bgp-bfd-enable-mode {
1062    type enumeration {728    type enumeration {
1063      enum "bgp-bfd-enable-mode-disable" {729      enum "bgp-bfd-enable-mode-disable" {
1064        value 0;730        value 0;
1065        description731        description
1066          "BFD fast detect disabled ";732          "BFD fast detect disabled ";
1067      }733      }
1068      enum "bgp-bfd-enable-mode-def" {734      enum "bgp-bfd-enable-mode-def" {
1069        value 1;735        value 1;
1070        description736        description
1071          "BFD fast detect default mode ";737          "BFD fast detect default mode ";
1072      }738      }
1073      enum "bgp-bfd-enable-mode-strict" {739      enum "bgp-bfd-enable-mode-strict" {
1074        value 2;740        value 2;
1075        description741        description
1076          "BFD fast detect hold down aka strict mode";742          "BFD fast detect hold down aka strict mode";
1077      }743      }
1078    }744    }
1079    description745    description
1080      "BFD enable mode";746      "BFD enable mode";
1081  }747  }
1082748
1083  typedef Bgp-bfd-state {749  typedef Bgp-bfd-state {
1084    type enumeration {750    type enumeration {
1085      enum "bgp-bfd-state-not-configured" {751      enum "bgp-bfd-state-not-configured" {
1086        value 0;752        value 0;
1087        description753        description
1088          "BFD not configured";754          "BFD not configured";
1089      }755      }
1090      enum "bgp-bfd-state-admin-down" {756      enum "bgp-bfd-state-admin-down" {
1091        value 1;757        value 1;
1092        description758        description
1093          "BFD session disabled (neighbor shutdown)";759          "BFD session disabled (neighbor shutdown)";
1094      }760      }
1095      enum "bgp-bfd-state-not-supported" {761      enum "bgp-bfd-state-not-supported" {
1096        value 2;762        value 2;
1097        description763        description
1098          "BFD session disabled (interface type not764          "BFD session disabled (interface type not
1099           supported)";765           supported)";
1100      }766      }
1101      enum "bgp-bfd-state-not-created" {767      enum "bgp-bfd-state-not-created" {
1102        value 3;768        value 3;
1103        description769        description
1104          "BFD session configured, not yet created";770          "BFD session configured, not yet created";
1105      }771      }
1106      enum "bgp-bfd-state-created" {772      enum "bgp-bfd-state-created" {
1107        value 4;773        value 4;
1108        description774        description
1109          "BFD session created, state notification not775          "BFD session created, state notification not
1110           received";776           received";
1111      }777      }
1112      enum "bgp-bfd-state-up" {778      enum "bgp-bfd-state-up" {
1113        value 5;779        value 5;
1114        description780        description
1115          "BFD session up";781          "BFD session up";
1116      }782      }
1117      enum "bgp-bfd-state-down" {783      enum "bgp-bfd-state-down" {
1118        value 6;784        value 6;
1119        description785        description
1120          "BFD session down";786          "BFD session down";
1121      }787      }
1122      enum "bgp-bfd-state-nbr-not-configured" {788      enum "bgp-bfd-state-nbr-not-configured" {
1123        value 7;789        value 7;
1124        description790        description
1125          "BFD session down (peer not configured)";791          "BFD session down (peer not configured)";
1126      }792      }
1127      enum "bgp-bfd-state-none" {793      enum "bgp-bfd-state-none" {
1128        value 8;794        value 8;
1129        description795        description
1130          "BFD session (yet ro rcv Notification)";796          "BFD session (yet ro rcv Notification)";
1131      }797      }
1132    }798    }
1133    description799    description
1134      "BFD session state";800      "BFD session state";
1135  }801  }
1136802
1137  typedef Bgp-open-check-err {803  typedef Bgp-open-check-err {
1138    type enumeration {804    type enumeration {
1139      enum "none" {805      enum "none" {
1140        value 0;806        value 0;
1141        description807        description
1142          "No error";808          "No error";
1143      }809      }
1144      enum "neighbor-down" {810      enum "neighbor-down" {
1145        value 1;811        value 1;
1146        description812        description
1147          "Neighbor down";813          "Neighbor down";
1148      }814      }
1149      enum "no-update-group-set" {815      enum "no-update-group-set" {
1150        value 2;816        value 2;
1151        description817        description
1152          "No update-group set";818          "No update-group set";
1153      }819      }
1154      enum "no-af-config" {820      enum "no-af-config" {
1155        value 3;821        value 3;
1156        description822        description
1157          "No AF configured";823          "No AF configured";
1158      }824      }
1159      enum "update-group-pending" {825      enum "update-group-pending" {
1160        value 4;826        value 4;
1161        description827        description
1162          "Update-group pending";828          "Update-group pending";
1163      }829      }
1164      enum "low-memory" {830      enum "low-memory" {
1165        value 5;831        value 5;
1166        description832        description
1167          "Low memory";833          "Low memory";
1168      }834      }
1169      enum "neighbor-shutdown" {835      enum "neighbor-shutdown" {
1170        value 6;836        value 6;
1171        description837        description
1172          "Neighbor shutdown";838          "Neighbor shutdown";
1173      }839      }
1174      enum "ebgp-neighbor-remote" {840      enum "ebgp-neighbor-remote" {
1175        value 7;841        value 7;
1176        description842        description
1177          "eBGP neighbor is remote";843          "eBGP neighbor is remote";
1178      }844      }
1179      enum "update-source-interface-null" {845      enum "update-source-interface-null" {
1180        value 8;846        value 8;
1181        description847        description
1182          "Update source invalid";848          "Update source invalid";
1183      }849      }
1184      enum "no-ipv6-address" {850      enum "no-ipv6-address" {
1185        value 9;851        value 9;
1186        description852        description
1187          "No global IPv6 address found";853          "No global IPv6 address found";
1188      }854      }
1189      enum "first-hop-interface-null" {855      enum "first-hop-interface-null" {
1190        value 10;856        value 10;
1191        description857        description
1192          "First-hop interface invalid";858          "First-hop interface invalid";
1193      }859      }
1194      enum "no-ipv6ll-address" {860      enum "no-ipv6ll-address" {
1195        value 11;861        value 11;
1196        description862        description
1197          "No LL IPv6 address found";863          "No LL IPv6 address found";
1198      }864      }
1199      enum "no-update-source-config" {865      enum "no-update-source-config" {
1200        value 12;866        value 12;
1201        description867        description
1202          "No update-source configured";868          "No update-source configured";
1203      }869      }
1204      enum "no-router-id" {870      enum "no-router-id" {
1205        value 13;871        value 13;
1206        description872        description
1207          "No router-identifier";873          "No router-identifier";
1208      }874      }
1209      enum "update-source-interface-get-failed" {875      enum "update-source-interface-get-failed" {
1210        value 14;876        value 14;
1211        description877        description
1212          "Update-source interface get failed";878          "Update-source interface get failed";
1213      }879      }
1214      enum "update-source-interface-state-get-failed" {880      enum "update-source-interface-state-get-failed" {
1215        value 15;881        value 15;
1216        description882        description
1217          "Update-source interface state get failed";883          "Update-source interface state get failed";
1218      }884      }
1219      enum "update-source-interface-down" {885      enum "update-source-interface-down" {
1220        value 16;886        value 16;
1221        description887        description
1222          "Update-source interface down";888          "Update-source interface down";
1223      }889      }
1224      enum "update-source-interface-ll-get-failed" {890      enum "update-source-interface-ll-get-failed" {
1225        value 17;891        value 17;
1226        description892        description
1227          "Update-source interface LL get failed";893          "Update-source interface LL get failed";
1228      }894      }
1229      enum "update-source-interface-address-get-failed" {895      enum "update-source-interface-address-get-failed" {
1230        value 18;896        value 18;
1231        description897        description
1232          "Update-source interface address get failed";898          "Update-source interface address get failed";
1233      }899      }
1234      enum "source-address-af-invalid" {900      enum "source-address-af-invalid" {
1235        value 19;901        value 19;
1236        description902        description
1237          "Source-address AF invalid";903          "Source-address AF invalid";
1238      }904      }
1239      enum "no-update-source-ll-peering" {905      enum "no-update-source-ll-peering" {
1240        value 20;906        value 20;
1241        description907        description
1242          "No update-source for LL peering";908          "No update-source for LL peering";
1243      }909      }
1244      enum "local-address-get-failed" {910      enum "local-address-get-failed" {
1245        value 21;911        value 21;
1246        description912        description
1247          "Local-address get failed";913          "Local-address get failed";
1248      }914      }
1249      enum "no-best-local-address" {915      enum "no-best-local-address" {
1250        value 22;916        value 22;
1251        description917        description
1252          "No best local-address";918          "No best local-address";
1253      }919      }
1254      enum "neighbor-address-equals-local-address" {920      enum "neighbor-address-equals-local-address" {
1255        value 23;921        value 23;
1256        description922        description
1257          "Neighbor address is local address";923          "Neighbor address is local address";
1258      }924      }
1259      enum "neighbor-closing" {925      enum "neighbor-closing" {
1260        value 24;926        value 24;
1261        description927        description
1262          "Neighbor in closing state";928          "Neighbor in closing state";
1263      }929      }
1264      enum "neighbor-pending-reset" {930      enum "neighbor-pending-reset" {
1265        value 25;931        value 25;
1266        description932        description
1267          "Neighbor in pending reset state";933          "Neighbor in pending reset state";
1268      }934      }
1269      enum "out-interface-set-failed" {935      enum "out-interface-set-failed" {
1270        value 26;936        value 26;
1271        description937        description
1272          "Out-interface set failed";938          "Out-interface set failed";
1273      }939      }
1274      enum "local-address-mismatch" {940      enum "local-address-mismatch" {
1275        value 27;941        value 27;
1276        description942        description
1277          "Local-address mismatch";943          "Local-address mismatch";
1278      }944      }
1279      enum "neighbor-active-only" {945      enum "neighbor-active-only" {
1280        value 28;946        value 28;
1281        description947        description
1282          "Neighbor in active only mode";948          "Neighbor in active only mode";
1283      }949      }
1284      enum "socket-init-failed" {950      enum "socket-init-failed" {
1285        value 29;951        value 29;
1286        description952        description
1287          "Socket init failed";953          "Socket init failed";
1288      }954      }
1289      enum "socket-operation-failed" {955      enum "socket-operation-failed" {
1290        value 30;956        value 30;
1291        description957        description
1292          "Socket operation failed";958          "Socket operation failed";
1293      }959      }
1294      enum "local-neighbor" {960      enum "local-neighbor" {
1295        value 31;961        value 31;
1296        description962        description
1297          "Neighbor is local";963          "Neighbor is local";
1298      }964      }
1299      enum "multi-hop-neighbor" {965      enum "multi-hop-neighbor" {
1300        value 32;966        value 32;
1301        description967        description
1302          "No router to multi-hop neighbor";968          "No router to multi-hop neighbor";
1303      }969      }
1304    }970    }
1305    description971    description
1306      "BGP open check error types";972      "BGP open check error types";
1307  }973  }
1308974
n1309  typedef Bgp-bmp-mode {n975  typedef Bgp-conn-state {
1310    type enumeration {976    type enumeration {
n1311      enum "inbound-pre-policy" {n977      enum "bgp-st-dont-care" {
1312        value 0;978        value 0;
1313        description979        description
n1314          "BMP inbound pre policy";n980          "DontCare";
1315      }981      }
n1316      enum "inbound-post-policy" {n982      enum "bgp-st-idle" {
1317        value 1;983        value 1;
1318        description984        description
n1319          "BMP inbound post policy";n985          "Idle";
1320      }986      }
n1321      enum "mode-out-pre" {n987      enum "bgp-st-connect" {
1322        value 2;988        value 2;
1323        description989        description
n1324          "BMP outbound pre policy";n990          "Connect";
1325      }991      }
n1326      enum "mode-out-post" {n992      enum "bgp-st-active" {
1327        value 3;993        value 3;
1328        description994        description
n1329          "BMP outbound post policy";n995          "Active";
1330      }996      }
n1331      enum "local-rib" {n997      enum "bgp-st-open-sent" {
1332        value 4;998        value 4;
1333        description999        description
n1334          "BMP local rib";n1000          "OpenSent";
1335      }
1336    }1001      }
1002      enum "bgp-st-open-confirm" {
1003        value 5;
1337    description1004        description
1338      "BGP BMP mode type";1005          "OpenConfirm";
1006      }
1007      enum "bgp-st-estab" {
1008        value 6;
1009        description
1010          "Established";
1011      }
1012      enum "bgp-st-closing" {
1013        value 7;
1014        description
1015          "Closing";
1016      }
1017      enum "bgp-st-closing-sync" {
1018        value 8;
1019        description
1020          "ClosingSync";
1021      }
1022    }
1023    description
1024      "Bgp conn state";
1339  }1025  }
13401026
1341  typedef Bgp-nh-validate {1027  typedef Bgp-nh-validate {
1342    type enumeration {1028    type enumeration {
1343      enum "bgp-nh-validate-sync" {1029      enum "bgp-nh-validate-sync" {
1344        description1030        description
1345          "bgp nh validate sync";1031          "bgp nh validate sync";
1346      }1032      }
1347      enum "bgp-nh-validate-async" {1033      enum "bgp-nh-validate-async" {
1348        description1034        description
1349          "bgp nh validate async";1035          "bgp nh validate async";
1350      }1036      }
1351      enum "bgp-nh-validate-none" {1037      enum "bgp-nh-validate-none" {
1352        description1038        description
1353          "bgp nh validate none";1039          "bgp nh validate none";
1354      }1040      }
1355    }1041    }
1356    description1042    description
1357      "Bgp nh validate";1043      "Bgp nh validate";
1358  }1044  }
13591045
1360  typedef Bgp-nh-update {1046  typedef Bgp-nh-update {
1361    type enumeration {1047    type enumeration {
1362      enum "bgp-nh-update-none" {1048      enum "bgp-nh-update-none" {
1363        value 0;1049        value 0;
1364        description1050        description
1365          "No nh update yet";1051          "No nh update yet";
1366      }1052      }
1367      enum "bgp-nh-update-crit-not-f" {1053      enum "bgp-nh-update-crit-not-f" {
1368        value 1;1054        value 1;
1369        description1055        description
1370          "Last nh update is crit notf";1056          "Last nh update is crit notf";
1371      }1057      }
1372      enum "bgp-nh-update-crit-sync" {1058      enum "bgp-nh-update-crit-sync" {
1373        value 2;1059        value 2;
1374        description1060        description
1375          "Last nh update is crit sync update";1061          "Last nh update is crit sync update";
1376      }1062      }
1377      enum "bgp-nh-update-crit-rib-conv" {1063      enum "bgp-nh-update-crit-rib-conv" {
1378        value 3;1064        value 3;
1379        description1065        description
1380          "Last nh update is crit update caused by rib1066          "Last nh update is crit update caused by rib
1381           converge";1067           converge";
1382      }1068      }
1383      enum "bgp-nh-update-crit-table-down" {1069      enum "bgp-nh-update-crit-table-down" {
1384        value 4;1070        value 4;
1385        description1071        description
1386          "Last nh update is crit update caused by table1072          "Last nh update is crit update caused by table
1387           down";1073           down";
1388      }1074      }
1389      enum "bgp-nh-update-non-crit-not-f" {1075      enum "bgp-nh-update-non-crit-not-f" {
1390        value 5;1076        value 5;
1391        description1077        description
1392          "Last nh update is non-crit notf";1078          "Last nh update is non-crit notf";
1393      }1079      }
1394      enum "bgp-nh-update-non-crit-sync" {1080      enum "bgp-nh-update-non-crit-sync" {
1395        value 6;1081        value 6;
1396        description1082        description
1397          "Last nh update is non-crit sync update";1083          "Last nh update is non-crit sync update";
1398      }1084      }
1399      enum "bgp-nh-update-non-crit-rib-conv" {1085      enum "bgp-nh-update-non-crit-rib-conv" {
1400        value 7;1086        value 7;
1401        description1087        description
1402          "Last nh update is non-crit update caused by rib1088          "Last nh update is non-crit update caused by rib
1403           converge";1089           converge";
1404      }1090      }
1405      enum "bgp-nh-update-non-crit-table-down" {1091      enum "bgp-nh-update-non-crit-table-down" {
1406        value 8;1092        value 8;
1407        description1093        description
1408          "Last nh update is non-crit update caused by1094          "Last nh update is non-crit update caused by
1409           table down";1095           table down";
1410      }1096      }
1411    }1097    }
1412    description1098    description
1413      "Bgp nh update";1099      "Bgp nh update";
1414  }1100  }
14151101
1416  typedef Bgp-nh-event {1102  typedef Bgp-nh-event {
1417    type enumeration {1103    type enumeration {
1418      enum "bgp-nh-event-crit-not-f" {1104      enum "bgp-nh-event-crit-not-f" {
1419        value 0;1105        value 0;
1420        description1106        description
1421          "Last event received is a crit notf";1107          "Last event received is a crit notf";
1422      }1108      }
1423      enum "bgp-nh-event-non-crit-not-f" {1109      enum "bgp-nh-event-non-crit-not-f" {
1424        value 1;1110        value 1;
1425        description1111        description
1426          "Last event received is a non-crit notf";1112          "Last event received is a non-crit notf";
1427      }1113      }
1428      enum "bgp-nh-event-registration" {1114      enum "bgp-nh-event-registration" {
1429        value 2;1115        value 2;
1430        description1116        description
1431          "Last event sent is a registration";1117          "Last event sent is a registration";
1432      }1118      }
1433    }1119    }
1434    description1120    description
1435      "Bgp nh event";1121      "Bgp nh event";
1436  }1122  }
14371123
n1438  typedef Bgp-usid-alloc-mode {n
1439    type enumeration {
1440      enum "bgp-usid-alloc-default" {
1441        value 0;
1442        description
1443          "Default SRv6 uSID allocation mode";
1444      }
1445      enum "bgp-usid-alloc-wlib-only" {
1446        value 1;
1447        description
1448          "SRv6 uSID WLIB only allocation";
1449      }
1450      enum "bgp-usid-alloc-wlib-fallback" {
1451        value 2;
1452        description
1453          "SRv6 uSID WLIB fallback allocation";
1454      }
1455    }
1456    description
1457      "Bgp usid alloc mode";
1458  }
1459 
1460  typedef Bgp-vr-bumpcount-event {
1461    type enumeration {
1462      enum "bgp-other" {
1463        value 0;
1464        description
1465          "Other";
1466      }
1467      enum "bgp-reachable" {
1468        value 1;
1469        description
1470          "Reachable";
1471      }
1472      enum "bgp-unreachable" {
1473        value 2;
1474        description
1475          "Unreachable";
1476      }
1477      enum "bgp-import" {
1478        value 3;
1479        description
1480          "Import";
1481      }
1482      enum "bgp-redist" {
1483        value 4;
1484        description
1485          "Redistributed";
1486      }
1487      enum "bgp-label" {
1488        value 5;
1489        description
1490          "Label";
1491      }
1492      enum "bgp-next-hop" {
1493        value 6;
1494        description
1495          "Nexthop";
1496      }
1497    }
1498    description
1499      "Bgp vr bumpcount event";
1500  }
1501 
1502  typedef Bgp-rtr-state {1124  typedef Bgp-rtr-state {
1503    type enumeration {1125    type enumeration {
1504      enum "bgp-router-read-only" {1126      enum "bgp-router-read-only" {
1505        value 0;1127        value 0;
1506        description1128        description
1507          "Read only mode";1129          "Read only mode";
1508      }1130      }
1509      enum "bgp-router-do-best-path" {1131      enum "bgp-router-do-best-path" {
1510        value 1;1132        value 1;
1511        description1133        description
1512          "Bestpath calculation mode";1134          "Bestpath calculation mode";
1513      }1135      }
1514      enum "bgp-router-do-tunnel-update" {1136      enum "bgp-router-do-tunnel-update" {
1515        value 2;1137        value 2;
1516        description1138        description
1517          "Tunnel update mode";1139          "Tunnel update mode";
1518      }1140      }
1519      enum "bgp-router-do-import" {1141      enum "bgp-router-do-import" {
1520        value 3;1142        value 3;
1521        description1143        description
1522          "Import mode";1144          "Import mode";
1523      }1145      }
1524      enum "bgp-router-do-label-alloc" {1146      enum "bgp-router-do-label-alloc" {
1525        value 4;1147        value 4;
1526        description1148        description
1527          "Label Allocation mode";1149          "Label Allocation mode";
1528      }1150      }
1529      enum "bgp-router-do-ribupd" {1151      enum "bgp-router-do-ribupd" {
1530        value 5;1152        value 5;
1531        description1153        description
1532          "RIB update mode";1154          "RIB update mode";
1533      }1155      }
1534      enum "bgp-router-read-write" {1156      enum "bgp-router-read-write" {
1535        value 6;1157        value 6;
1536        description1158        description
1537          "Normal (read/write) mode";1159          "Normal (read/write) mode";
1538      }1160      }
1539      enum "bgp-router-mode-count" {1161      enum "bgp-router-mode-count" {
1540        value 7;1162        value 7;
1541        description1163        description
1542          "Number of router modes";1164          "Number of router modes";
1543      }1165      }
1544    }1166    }
1545    description1167    description
1546      "Bgp rtr state";1168      "Bgp rtr state";
1547  }1169  }
15481170
nn1171  typedef Mac-address {
1172    type yang:mac-address;
1173    description
1174      "MAC Address type";
1175  }
1176 
1549  typedef Bgp-rnh-addr-len {1177  typedef Bgp-rnh-addr-len {
1550    type enumeration {1178    type enumeration {
1551      enum "none" {1179      enum "none" {
1552        value 0;1180        value 0;
1553        description1181        description
1554          "NO address length";1182          "NO address length";
1555      }1183      }
1556      enum "v4" {1184      enum "v4" {
1557        value 4;1185        value 4;
1558        description1186        description
1559          "IP v4 address length";1187          "IP v4 address length";
1560      }1188      }
1561      enum "mac" {1189      enum "mac" {
1562        value 6;1190        value 6;
1563        description1191        description
1564          "MAC address length";1192          "MAC address length";
1565      }1193      }
1566      enum "v6" {1194      enum "v6" {
1567        value 16;1195        value 16;
1568        description1196        description
1569          "IP v6 address length";1197          "IP v6 address length";
1570      }1198      }
1571    }1199    }
1572    description1200    description
1573      "BGP RNH Address Length";1201      "BGP RNH Address Length";
1574  }1202  }
15751203
1576  typedef Sr-sid {1204  typedef Sr-sid {
1577    type enumeration {1205    type enumeration {
1578      enum "label" {1206      enum "label" {
1579        value 1;1207        value 1;
1580        description1208        description
1581          "MPLS Label sid";1209          "MPLS Label sid";
1582      }1210      }
1583      enum "ipv4" {1211      enum "ipv4" {
1584        value 2;1212        value 2;
1585        description1213        description
1586          "IPv4 address";1214          "IPv4 address";
1587      }1215      }
1588      enum "ipv6" {1216      enum "ipv6" {
1589        value 3;1217        value 3;
1590        description1218        description
1591          "IPv6 address";1219          "IPv6 address";
1592      }1220      }
1593    }1221    }
1594    description1222    description
1595      "Segment id type";1223      "Segment id type";
1596  }1224  }
15971225
1598  typedef Bgp-srpolicy-req-state {1226  typedef Bgp-srpolicy-req-state {
1599    type enumeration {1227    type enumeration {
1600      enum "request-pending" {1228      enum "request-pending" {
1601        value 0;1229        value 0;
1602        description1230        description
1603          "SR policy install in dataplane not requested1231          "SR policy install in dataplane not requested
1604           yet";1232           yet";
1605      }1233      }
1606      enum "requested" {1234      enum "requested" {
1607        value 1;1235        value 1;
1608        description1236        description
1609          "Requested SR policy install  dataplane";1237          "Requested SR policy install  dataplane";
1610      }1238      }
1611      enum "notified-up" {1239      enum "notified-up" {
1612        value 2;1240        value 2;
1613        description1241        description
1614          "SR policy is UP";1242          "SR policy is UP";
1615      }1243      }
1616      enum "notified-down" {1244      enum "notified-down" {
1617        value 4;1245        value 4;
1618        description1246        description
1619          "SR policy is notified down by XTC";1247          "SR policy is notified down by XTC";
1620      }1248      }
1621      enum "marked-stale" {1249      enum "marked-stale" {
1622        value 8;1250        value 8;
1623        description1251        description
1624          "SR policy is marked stale due to XTC agent down";1252          "SR policy is marked stale due to XTC agent down";
1625      }1253      }
1626      enum "marked-disable" {1254      enum "marked-disable" {
1627        value 16;1255        value 16;
1628        description1256        description
1629          "SR policy is marked disabled from the config in1257          "SR policy is marked disabled from the config in
1630           XTC";1258           XTC";
1631      }1259      }
1632    }1260    }
1633    description1261    description
1634      "BGP SR Policy Internal State";1262      "BGP SR Policy Internal State";
1635  }1263  }
16361264
1637  typedef Bgp-binding-sid {1265  typedef Bgp-binding-sid {
1638    type enumeration {1266    type enumeration {
1639      enum "none" {1267      enum "none" {
1640        value 0;1268        value 0;
1641        description1269        description
1642          "None";1270          "None";
1643      }1271      }
1644      enum "label" {1272      enum "label" {
1645        value 1;1273        value 1;
1646        description1274        description
1647          "Binding SID type MPLS label";1275          "Binding SID type MPLS label";
1648      }1276      }
1649      enum "v6" {1277      enum "v6" {
1650        value 2;1278        value 2;
1651        description1279        description
1652          "Binding SID type ipv6";1280          "Binding SID type ipv6";
1653      }1281      }
1654    }1282    }
1655    description1283    description
1656      "BGP Binding SID type";1284      "BGP Binding SID type";
1657  }1285  }
16581286
1659  typedef Bgp-bp-stage {1287  typedef Bgp-bp-stage {
1660    type enumeration {1288    type enumeration {
1661      enum "bgp-bp-comp-not-compared" {1289      enum "bgp-bp-comp-not-compared" {
1662        value 0;1290        value 0;
1663        description1291        description
1664          "Best path comparison not performed";1292          "Best path comparison not performed";
1665      }1293      }
1666      enum "bgp-bp-comp-imulti-path" {1294      enum "bgp-bp-comp-imulti-path" {
1667        value 1;1295        value 1;
1668        description1296        description
1669          "Path is an iBGP multipath";1297          "Path is an iBGP multipath";
1670      }1298      }
1671      enum "bgp-bp-comp-emulti-path" {1299      enum "bgp-bp-comp-emulti-path" {
1672        value 2;1300        value 2;
1673        description1301        description
1674          "Path is an eBGP multipath";1302          "Path is an eBGP multipath";
1675      }1303      }
1676      enum "bgp-bp-comp-eimulti-path" {1304      enum "bgp-bp-comp-eimulti-path" {
1677        value 3;1305        value 3;
1678        description1306        description
1679          "Path is an eiBGP multipath";1307          "Path is an eiBGP multipath";
1680      }1308      }
1681      enum "bgp-bp-invalid-path" {1309      enum "bgp-bp-invalid-path" {
1682        value 4;1310        value 4;
1683        description1311        description
1684          "Invalid path";1312          "Invalid path";
1685      }1313      }
1686      enum "bgp-bp-comp-pre-cost-comm" {1314      enum "bgp-bp-comp-pre-cost-comm" {
1687        value 5;1315        value 5;
1688        description1316        description
1689          "TODO";1317          "TODO";
1690      }1318      }
1691      enum "bgp-bp-comp-weight" {1319      enum "bgp-bp-comp-weight" {
1692        value 6;1320        value 6;
1693        description1321        description
1694          "Path has a lower weight";1322          "Path has a lower weight";
1695      }1323      }
n1696      enum "bgp-bp-comp-af-specific" {n1324      enum "bgp-bp-comp-locpref" {
1697        value 7;1325        value 7;
1698        description1326        description
n1699          "Less Favourable Address Family specificn1327          "Path has a lower local preference";
1700           attributes";
1701      }1328      }
n1702      enum "bgp-bp-comp-locpref" {n1329      enum "bgp-bp-comp-rpki" {
1703        value 8;1330        value 8;
1704        description1331        description
n1705          "Path has a lower local preference";n1332          "Path has worse origin validation state";
1706      }1333      }
n1707      enum "bgp-bp-comp-rpki" {n1334      enum "bgp-bp-comp-aigp" {
1708        value 9;1335        value 9;
1709        description1336        description
n1710          "Path has worse origin validation state";n1337          "TODO";
1711      }1338      }
n1712      enum "bgp-bp-comp-aigp" {n1339      enum "bgp-bp-comp-local" {
1713        value 10;1340        value 10;
1714        description1341        description
nn1342          "Path is not local";
1343      }
1344      enum "bgp-bp-comp-local-rib" {
1345        value 11;
1346        description
1715          "TODO";1347          "TODO";
1716      }1348      }
n1717      enum "bgp-bp-comp-local" {n1349      enum "bgp-bp-comp-as-path-len" {
1718        value 11;
1719        description
1720          "Path is not local";
1721      }
1722      enum "bgp-bp-comp-local-rib" {
1723        value 12;1350        value 12;
1724        description1351        description
nn1352          "Path has a longer AS path";
1353      }
1354      enum "bgp-bp-comp-origin" {
1355        value 13;
1356        description
1357          "Path has a less favorable origin";
1358      }
1359      enum "bgp-bp-comp-med" {
1360        value 14;
1361        description
1362          "Path has a lower MED";
1363      }
1364      enum "bgp-bp-comp-ebgp" {
1365        value 15;
1366        description
1367          "Path lost to an eBGP path";
1368      }
1369      enum "bgp-bp-comp-ao" {
1370        value 16;
1371        description
1372          "Path has Accept-Own community";
1373      }
1374      enum "bgp-bp-comp-igp-metric" {
1375        value 17;
1376        description
1377          "Path has a higher IGP metric";
1378      }
1379      enum "bgp-bp-comp-igp-cost-comm" {
1380        value 18;
1381        description
1725          "TODO";1382          "TODO";
1726      }1383      }
n1727      enum "bgp-bp-comp-as-path-len" {n
1728        value 13;
1729        description
1730          "Path has a longer AS path";
1731      }
1732      enum "bgp-bp-comp-origin" {
1733        value 14;
1734        description
1735          "Path has a less favorable origin";
1736      }
1737      enum "bgp-bp-comp-med" {1384      enum "bgp-bp-comp-rtr-id" {
1738        value 15;
1739        description
1740          "Path has a lower MED";
1741      }
1742      enum "bgp-bp-comp-ebgp" {
1743        value 16;
1744        description
1745          "Path lost to an eBGP path";
1746      }
1747      enum "bgp-bp-comp-ao" {
1748        value 17;
1749        description
1750          "Path has Accept-Own community";
1751      }
1752      enum "bgp-bp-comp-xtc-nh-ad" {
1753        value 18;
1754        description
1755          "Path has a higher SR-TE nexthop admin distance";
1756      }
1757      enum "bgp-bp-comp-igp-metric" {
1758        value 19;1385        value 19;
1759        description1386        description
n1760          "Path has a higher IGP metric";n1387          "Path has a higher router ID";
1761      }1388      }
n1762      enum "bgp-bp-comp-igp-cost-comm" {n1389      enum "bgp-bp-comp-clstr-len" {
1763        value 20;1390        value 20;
1764        description1391        description
n1765          "TODO";n1392          "Path has a longer cluster length";
1766      }1393      }
n1767      enum "bgp-bp-comp-rtr-id" {n1394      enum "bgp-bp-comp-nbr-addr" {
1768        value 21;1395        value 21;
1769        description1396        description
n1770          "Path has a higher router ID";n1397          "Path has a higher neighbor address";
1771      }1398      }
n1772      enum "bgp-bp-comp-clstr-len" {n1399      enum "bgp-bp-comp-suppressed" {
1773        value 22;1400        value 22;
1774        description1401        description
n1775          "Path has a longer cluster length";n1402          "Path is newer than best path";
1776      }1403      }
n1777      enum "bgp-bp-comp-nbr-addr" {n1404      enum "bgp-bp-comp-mismatch" {
1778        value 23;1405        value 23;
n1779        descriptionn
1780          "Path has a higher neighbor address";
1781      }
1782      enum "bgp-bp-comp-suppressed" {
1783        value 24;
1784        description
1785          "Path is newer than best path";
1786      }
1787      enum "bgp-bp-comp-mismatch" {
1788        value 25;
1789        description1406        description
1790          "Best path comparison failed, perhaps due to1407          "Best path comparison failed, perhaps due to
1791           recent configuration changes";1408           recent configuration changes";
1792      }1409      }
1793      enum "bgp-bp-comp-persistence" {1410      enum "bgp-bp-comp-persistence" {
n1794        value 26;n1411        value 24;
1795        description1412        description
1796          "Path is persistent";1413          "Path is persistent";
n1797      }n
1798      enum "bgp-bp-comp-gshut" {
1799        value 27;
1800        description
1801          "Path received from a neighbor in graceful
1802           maintenance";
1803      }
1804      enum "bgp-bp-comp-la-test" {
1805        value 28;
1806        description
1807          "Path is older";
1808      }
1809      enum "bgp-bp-comp-srte-tunnel-down" {
1810        value 29;
1811        description
1812          "Non SR-policy path is ignored due to config
1813           knob";
1814      }1414      }
1815    }1415    }
1816    description1416    description
1817      "Bgp bp stage";1417      "Bgp bp stage";
1818  }1418  }
18191419
1820  typedef Bgp-v4-v6-len {1420  typedef Bgp-v4-v6-len {
1821    type enumeration {1421    type enumeration {
1822      enum "gwnone" {1422      enum "gwnone" {
1823        value 0;1423        value 0;
1824        description1424        description
1825          "NO address length";1425          "NO address length";
1826      }1426      }
1827      enum "gwipv4" {1427      enum "gwipv4" {
1828        value 4;1428        value 4;
1829        description1429        description
1830          "IP v4 address length";1430          "IP v4 address length";
1831      }1431      }
1832      enum "gwipv6" {1432      enum "gwipv6" {
1833        value 16;1433        value 16;
1834        description1434        description
1835          "IP v6 address length";1435          "IP v6 address length";
1836      }1436      }
1837    }1437    }
1838    description1438    description
1839      "BGP GW Address Length";1439      "BGP GW Address Length";
1840  }1440  }
18411441
n1842  typedef Bgp-policy-sl {n
1843    type enumeration {
1844      enum "bgp-policy-sl-type-unknown" {
1845        value 0;
1846        description
1847          "SR Policy segment list type UNKOWN";
1848      }
1849      enum "bgp-policy-sl-type-srmpl-sv4" {
1850        value 1;
1851        description
1852          "SR Policy segment list type MPLSv4";
1853      }
1854      enum "bgp-policy-sl-type-srmpl-sv6" {
1855        value 2;
1856        description
1857          "SR Policy segment list type MPLSv6";
1858      }
1859      enum "bgp-policy-sl-type-srv6" {
1860        value 3;
1861        description
1862          "SR Policy segment list type SRV6";
1863      }
1864    }
1865    description
1866      "Bgp policy sl";
1867  }
1868 
1869  typedef Bgp-tunnel {1442  typedef Bgp-tunnel {
1870    type enumeration {1443    type enumeration {
1871      enum "tunnel-none" {1444      enum "tunnel-none" {
1872        value 0;1445        value 0;
1873        description1446        description
1874          "Tunnel not applicable";1447          "Tunnel not applicable";
1875      }1448      }
1876      enum "attrset" {1449      enum "attrset" {
1877        value 1;1450        value 1;
1878        description1451        description
1879          "Attribute set TE tunnel";1452          "Attribute set TE tunnel";
1880      }1453      }
1881      enum "sr-policy" {1454      enum "sr-policy" {
1882        value 2;1455        value 2;
1883        description1456        description
1884          "SR Policy";1457          "SR Policy";
1885      }1458      }
1886      enum "odn-policy" {1459      enum "odn-policy" {
1887        value 4;1460        value 4;
1888        description1461        description
1889          "ODN  color";1462          "ODN  color";
1890      }1463      }
1891    }1464    }
1892    description1465    description
1893      "BGP tunnel type";1466      "BGP tunnel type";
1894  }1467  }
18951468
1896  typedef Bgp-route1 {1469  typedef Bgp-route1 {
1897    type enumeration {1470    type enumeration {
1898      enum "bgp-route-type-used" {1471      enum "bgp-route-type-used" {
1899        value 0;1472        value 0;
1900        description1473        description
1901          "Used path from neighbor";1474          "Used path from neighbor";
1902      }1475      }
1903      enum "bgp-route-type-rcvd-only" {1476      enum "bgp-route-type-rcvd-only" {
1904        value 1;1477        value 1;
1905        description1478        description
1906          "Received only path from neighbor";1479          "Received only path from neighbor";
1907      }1480      }
1908      enum "bgp-route-type-safi-label-ed-ucast-used" {1481      enum "bgp-route-type-safi-label-ed-ucast-used" {
1909        value 2;1482        value 2;
1910        description1483        description
1911          "Used path from neighbor received via1484          "Used path from neighbor received via
1912           labeled-unicast SAFI";1485           labeled-unicast SAFI";
1913      }1486      }
1914      enum "bgp-route-type-safi-label-ed-ucast-rcvd-only" {1487      enum "bgp-route-type-safi-label-ed-ucast-rcvd-only" {
1915        value 3;1488        value 3;
1916        description1489        description
1917          "Received only path from neighbor received via1490          "Received only path from neighbor received via
1918           labeled-unicast SAFI";1491           labeled-unicast SAFI";
1919      }1492      }
1920      enum "bgp-route-type-rib" {1493      enum "bgp-route-type-rib" {
1921        value 4;1494        value 4;
1922        description1495        description
1923          "Redistributed from the RIB";1496          "Redistributed from the RIB";
1924      }1497      }
1925      enum "bgp-route-type-aggregate" {1498      enum "bgp-route-type-aggregate" {
1926        value 5;1499        value 5;
1927        description1500        description
1928          "Locally generated aggregate";1501          "Locally generated aggregate";
1929      }1502      }
1930      enum "bgp-route-type-max" {1503      enum "bgp-route-type-max" {
1931        value 6;1504        value 6;
1932        description1505        description
1933          "Number of route types";1506          "Number of route types";
1934      }1507      }
1935    }1508    }
1936    description1509    description
1937      "Bgp route1";1510      "Bgp route1";
1938  }1511  }
19391512
n1940  typedef Mac-address {n
1941    type yang:mac-address;
1942    description
1943      "MAC Address type";
1944  }
1945 
1946  typedef Bgp-rpki-af {1513  typedef Bgp-rpki-af {
1947    type enumeration {1514    type enumeration {
1948      enum "ipv4" {1515      enum "ipv4" {
1949        value 2;1516        value 2;
1950        description1517        description
1951          "IPv4";1518          "IPv4";
1952      }1519      }
1953      enum "ipv6" {1520      enum "ipv6" {
1954        value 26;1521        value 26;
1955        description1522        description
1956          "IPv6";1523          "IPv6";
1957      }1524      }
1958    }1525    }
1959    description1526    description
1960      "Bgp rpki af";1527      "Bgp rpki af";
1961  }1528  }
19621529
n1963  typedef Bgp-dryrun-softreconfig-state {n
1964    type enumeration {
1965      enum "bgp-dryrun-softre-config-ok" {
1966        value 0;
1967        description
1968          "Soft reconfig is active for the neighbor";
1969      }
1970      enum "bgp-dryrun-softre-config-inactive" {
1971        value 1;
1972        description
1973          "Soft reconfig is not active for the neighbor";
1974      }
1975    }
1976    description
1977      "Bgp dryrun softreconfig state";
1978  }
1979 
1980  typedef Bgp-dryrun-inuse-policy-state {
1981    type enumeration {
1982      enum "bgp-dryrun-inuse-permit-policy" {
1983        value 0;
1984        description
1985          "Inuse policy is implicit permit";
1986      }
1987      enum "bgp-dryrun-inuse-deny-policy" {
1988        value 1;
1989        description
1990          "Inuse policy is implicit drop";
1991      }
1992    }
1993    description
1994      "Bgp dryrun inuse policy state";
1995  }
1996 
1997  typedef Bgp-dryrun-policy-error {
1998    type enumeration {
1999      enum "bgp-dryrun-policy-ok" {
2000        value 0;
2001        description
2002          "The given dryrun policy is usable";
2003      }
2004      enum "bgp-dryrun-policy-not-exists" {
2005        value 1;
2006        description
2007          "The given dryrun policy is not configured";
2008      }
2009    }
2010    description
2011      "Bgp dryrun policy error";
2012  }
2013 
2014  typedef Bgp-vr-int {
2015    type enumeration {
2016      enum "vr-int-live" {
2017        value 0;
2018        description
2019          "5 minute live interval";
2020      }
2021      enum "vr-int-5" {
2022        value 1;
2023        description
2024          "5 minute interval";
2025      }
2026      enum "vr-int-15" {
2027        value 2;
2028        description
2029          "15 minute interval";
2030      }
2031      enum "vr-int-30" {
2032        value 3;
2033        description
2034          "30 minute interval";
2035      }
2036    }
2037    description
2038      "Bgp vr int";
2039  }
2040 
2041  typedef Nbr-vr-bumpcount-event {
2042    type enumeration {
2043      enum "nbr-reachable" {
2044        value 0;
2045        description
2046          "Reachable";
2047      }
2048      enum "nbr-unreachable" {
2049        value 1;
2050        description
2051          "Unreachable";
2052      }
2053    }
2054    description
2055      "Nbr vr bumpcount event";
2056  }
2057 
2058  typedef Bgp-sync-nbr-nsr-state {
2059    type enumeration {
2060      enum "bgp-nbr-nsr-st-none" {
2061        description
2062          "None - ST 0";
2063      }
2064      enum "bgp-nbr-nsr-st-oper-down" {
2065        description
2066          "TCP OPER_DOWN notfn received - ST 1";
2067      }
2068      enum "bgp-nbr-nsr-st-tcp-init-sync" {
2069        description
2070          "TCP initial sync in progress - ST 2";
2071      }
2072      enum "bgp-nbr-nsr-st-tcp-phase-two" {
2073        description
2074          "TCP initial sync phase two in progress - ST 3";
2075      }
2076      enum "bgp-nbr-nsr-st-bgp-init-sync" {
2077        description
2078          "BGP initial sync in progress - ST 4";
2079      }
2080      enum "bgp-nbr-nsr-st-nsr-ready" {
2081        description
2082          "Neighbor NSR ready - ST 5";
2083      }
2084    }
2085    description
2086      "Bgp sync nbr nsr state";
2087  }
2088 
2089  typedef Bgp-conn-state {
2090    type enumeration {
2091      enum "bgp-st-dont-care" {
2092        value 0;
2093        description
2094          "DontCare";
2095      }
2096      enum "bgp-st-idle" {
2097        value 1;
2098        description
2099          "Idle";
2100      }
2101      enum "bgp-st-connect" {
2102        value 2;
2103        description
2104          "Connect";
2105      }
2106      enum "bgp-st-active" {
2107        value 3;
2108        description
2109          "Active";
2110      }
2111      enum "bgp-st-open-sent" {
2112        value 4;
2113        description
2114          "OpenSent";
2115      }
2116      enum "bgp-st-open-confirm" {
2117        value 5;
2118        description
2119          "OpenConfirm";
2120      }
2121      enum "bgp-st-estab" {
2122        value 6;
2123        description
2124          "Established";
2125      }
2126      enum "bgp-st-closing" {
2127        value 7;
2128        description
2129          "Closing";
2130      }
2131      enum "bgp-st-closing-sync" {
2132        value 8;
2133        description
2134          "ClosingSync";
2135      }
2136    }
2137    description
2138      "Bgp conn state";
2139  }
2140 
2141  typedef Bgp-nbr-disable-peer-as {
2142    type enumeration {
2143      enum "bgp-disable-peer-as-none" {
2144        description
2145          "neighbor disable peer as not configured";
2146      }
2147      enum "bgp-disable-peer-as-false" {
2148        description
2149          "neighbor disable peer as enabled";
2150      }
2151      enum "bgp-disable-peer-as-true" {
2152        description
2153          "neighbor disable peer as disabled";
2154      }
2155    }
2156    description
2157      "Bgp nbr disable peer as";
2158  }
2159 
2160  typedef Bgp-nbr-aspath-as-override {
2161    type enumeration {
2162      enum "bgp-as-path-as-override-none" {
2163        description
2164          "neighbor aspath override not configured";
2165      }
2166      enum "bgp-as-path-as-override-enable" {
2167        description
2168          "neighbor aspath override enabled";
2169      }
2170      enum "bgp-as-path-as-override-disable" {
2171        description
2172          "neighbor aspath override disabled";
2173      }
2174    }
2175    description
2176      "Bgp nbr aspath as override";
2177  }
2178 
2179  typedef Bgp-nbr-dampening {
2180    type enumeration {
2181      enum "bgp-nbr-dampening-none" {
2182        description
2183          "neighbor dampening not configured";
2184      }
2185      enum "bgp-nbr-dampening-enable" {
2186        description
2187          "neighbor dampening enabled";
2188      }
2189      enum "bgp-nbr-dampening-disable" {
2190        description
2191          "neighbor dampening disabled";
2192      }
2193    }
2194    description
2195      "Bgp nbr dampening";
2196  }
2197 
2198  typedef Bgp-evpn-link-bw-edm {
2199    type enumeration {
2200      enum "invalid" {
2201        value 0;
2202        description
2203          "EVPN Link Bandwidth Invalid type";
2204      }
2205      enum "bandwidth" {
2206        value 1;
2207        description
2208          "EVPN Link Bandwidth Bandwidth in Mbps type";
2209      }
2210      enum "per-path" {
2211        value 2;
2212        description
2213          "EVPN Link Bandwidth Per-Path type";
2214      }
2215    }
2216    description
2217      "EVPN Link Bandwidth Generalized Type";
2218  }
2219 
2220  typedef Bgp-gshut-bw-mode {
2221    type enumeration {
2222      enum "bgp-gshut-bw-aware-mode-none" {
2223        value 0;
2224        description
2225          "Bandwidth-Aware Graceful-Maintenance not
2226           configured";
2227      }
2228      enum "bgp-gshut-bw-aware-mode-bandwidth" {
2229        value 1;
2230        description
2231          "Bandwidth-Aware Graceful-Maintenance in
2232           bandwidth threshold";
2233      }
2234      enum "bgp-gshut-bw-aware-mode-percentage" {
2235        value 2;
2236        description
2237          "Bandwidth-Aware Graceful-Maintenance in
2238           percentage threshold";
2239      }
2240    }
2241    description
2242      "Bgp gshut bw mode";
2243  }
2244 
2245  typedef Bgp-tcp-mode {1530  typedef Bgp-tcp-mode {
2246    type enumeration {1531    type enumeration {
2247      enum "bgp-tcp-mode-type-either" {1532      enum "bgp-tcp-mode-type-either" {
2248        value 0;1533        value 0;
2249        description1534        description
2250          "Use either active or passive mode";1535          "Use either active or passive mode";
2251      }1536      }
2252      enum "bgp-tcp-mode-type-active-only" {1537      enum "bgp-tcp-mode-type-active-only" {
2253        value 1;1538        value 1;
2254        description1539        description
2255          "Use active mode only";1540          "Use active mode only";
2256      }1541      }
2257      enum "bgp-tcp-mode-type-passive-only" {1542      enum "bgp-tcp-mode-type-passive-only" {
2258        value 2;1543        value 2;
2259        description1544        description
2260          "Use passive mode only";1545          "Use passive mode only";
2261      }1546      }
2262    }1547    }
2263    description1548    description
2264      "Bgp tcp mode";1549      "Bgp tcp mode";
2265  }1550  }
22661551
2267  typedef Bgp-ebgp-send-dmz-enable-mode {1552  typedef Bgp-ebgp-send-dmz-enable-mode {
2268    type enumeration {1553    type enumeration {
2269      enum "bgp-ebgp-send-dmz-disable" {1554      enum "bgp-ebgp-send-dmz-disable" {
2270        value 0;1555        value 0;
2271        description1556        description
2272          "EBGP send extended community dmz link bandwidth1557          "EBGP send extended community dmz link bandwidth
2273           disabled ";1558           disabled ";
2274      }1559      }
2275      enum "bgp-ebgp-send-dmz-dflt" {1560      enum "bgp-ebgp-send-dmz-dflt" {
2276        value 1;1561        value 1;
2277        description1562        description
2278          "EBGP send extended community dmz link bandwidth1563          "EBGP send extended community dmz link bandwidth
2279           default mode ";1564           default mode ";
2280      }1565      }
2281      enum "bgp-ebgp-send-dmz-cumulative" {1566      enum "bgp-ebgp-send-dmz-cumulative" {
2282        value 2;1567        value 2;
2283        description1568        description
2284          "EBGP send extended community dmz link bandwidth1569          "EBGP send extended community dmz link bandwidth
2285           cumulative mode";1570           cumulative mode";
2286      }1571      }
2287    }1572    }
2288    description1573    description
2289      "EBGP send extended community dmz link bandwidth1574      "EBGP send extended community dmz link bandwidth
2290       enable mode";1575       enable mode";
2291  }1576  }
22921577
2293  typedef Bgp-entities {1578  typedef Bgp-entities {
2294    type enumeration {1579    type enumeration {
2295      enum "af-group" {1580      enum "af-group" {
2296        value 0;1581        value 0;
2297        description1582        description
2298          "AF groups";1583          "AF groups";
2299      }1584      }
2300      enum "session-group" {1585      enum "session-group" {
2301        value 1;1586        value 1;
2302        description1587        description
2303          "Session Groups";1588          "Session Groups";
2304      }1589      }
2305      enum "neighbor-group" {1590      enum "neighbor-group" {
2306        value 2;1591        value 2;
2307        description1592        description
2308          "Neighbor Groups";1593          "Neighbor Groups";
2309      }1594      }
2310      enum "neighbor" {1595      enum "neighbor" {
2311        value 3;1596        value 3;
2312        description1597        description
2313          "Neighbors";1598          "Neighbors";
2314      }1599      }
2315    }1600    }
2316    description1601    description
2317      "Entity type";1602      "Entity type";
2318  }1603  }
23191604
2320  typedef Ipv6-flowspec-address {1605  typedef Ipv6-flowspec-address {
2321    type xr:Bgp-ipv6-flowspec-address;1606    type xr:Bgp-ipv6-flowspec-address;
2322    description1607    description
2323      "IPv6 Flowspec Address type";1608      "IPv6 Flowspec Address type";
2324  }1609  }
23251610
2326  typedef Ipv4-flowspec-address {1611  typedef Ipv4-flowspec-address {
2327    type xr:Bgp-ipv4-flowspec-address;1612    type xr:Bgp-ipv4-flowspec-address;
2328    description1613    description
2329      "IPv4 Flowspec Address type";1614      "IPv4 Flowspec Address type";
2330  }1615  }
23311616
2332  typedef Ls-ls-address {1617  typedef Ls-ls-address {
2333    type xr:Bgp-ls-addr;1618    type xr:Bgp-ls-addr;
2334    description1619    description
2335      "LINKSTATE LINKSTATE Address type";1620      "LINKSTATE LINKSTATE Address type";
2336  }1621  }
23371622
nn1623  typedef L2vpn-evpn-address {
1624    type xr:Bgp-l2vpn-evpn-addrs;
1625    description
1626      "L2VPN EVPN Address type";
1627  }
1628 
2338  typedef Ipv4mvpn-address {1629  typedef Ipv4mvpn-address {
2339    type xr:Bgp-ipv4-mvpn-addr;1630    type xr:Bgp-ipv4-mvpn-addr;
2340    description1631    description
2341      "IPV4 MVPN Address type";1632      "IPV4 MVPN Address type";
2342  }1633  }
23431634
2344  typedef Ipv6mvpn-address {1635  typedef Ipv6mvpn-address {
2345    type xr:Bgp-ipv6-mvpn-addr;1636    type xr:Bgp-ipv6-mvpn-addr;
2346    description1637    description
2347      "IPV6 MVPN Address type";1638      "IPV6 MVPN Address type";
2348  }1639  }
23491640
2350  typedef Rt-constraint-address {1641  typedef Rt-constraint-address {
2351    type xr:Bgp-rt-constrt-addr;1642    type xr:Bgp-rt-constrt-addr;
2352    description1643    description
2353      "IPV4 RTConstraint Address type";1644      "IPV4 RTConstraint Address type";
2354  }1645  }
23551646
2356  typedef Ipv6-address {1647  typedef Ipv6-address {
2357    type inet:ipv6-address;1648    type inet:ipv6-address;
2358    description1649    description
2359      "IPV6 Address type";1650      "IPV6 Address type";
2360  }1651  }
23611652
2362  typedef Ipv4-mdt-address {1653  typedef Ipv4-mdt-address {
2363    type xr:Bgp-ipv4-mdt-addr;1654    type xr:Bgp-ipv4-mdt-addr;
2364    description1655    description
2365      "IPV4MDT Address type";1656      "IPV4MDT Address type";
2366  }1657  }
23671658
2368  typedef Ipv4-tunnel-address {1659  typedef Ipv4-tunnel-address {
2369    type xr:Bgp-ipv4-tunnel-addr;1660    type xr:Bgp-ipv4-tunnel-addr;
2370    description1661    description
2371      "IPV4Tunnel Address type";1662      "IPV4Tunnel Address type";
2372  }1663  }
23731664
2374  typedef Bgp-afi {1665  typedef Bgp-afi {
2375    type enumeration {1666    type enumeration {
2376      enum "ipv4" {1667      enum "ipv4" {
2377        value 0;1668        value 0;
2378        description1669        description
2379          "IP v4 unicast";1670          "IP v4 unicast";
2380      }1671      }
2381      enum "ipv4-multicast" {1672      enum "ipv4-multicast" {
2382        value 1;1673        value 1;
2383        description1674        description
2384          "IP v4 multicast";1675          "IP v4 multicast";
2385      }1676      }
2386      enum "ipv4-labeled" {1677      enum "ipv4-labeled" {
2387        value 2;1678        value 2;
2388        description1679        description
2389          "IP v4 label";1680          "IP v4 label";
2390      }1681      }
2391      enum "ipv4-tunnel" {1682      enum "ipv4-tunnel" {
2392        value 3;1683        value 3;
2393        description1684        description
2394          "IP v4 Tunnel";1685          "IP v4 Tunnel";
2395      }1686      }
2396      enum "vpnv4" {1687      enum "vpnv4" {
2397        value 4;1688        value 4;
2398        description1689        description
2399          "IP v4 virtual private network";1690          "IP v4 virtual private network";
2400      }1691      }
2401      enum "ipv6" {1692      enum "ipv6" {
2402        value 5;1693        value 5;
2403        description1694        description
2404          "IP v6 unicast";1695          "IP v6 unicast";
2405      }1696      }
2406      enum "ipv6-multicast" {1697      enum "ipv6-multicast" {
2407        value 6;1698        value 6;
2408        description1699        description
2409          "IP v6 multicast";1700          "IP v6 multicast";
2410      }1701      }
2411      enum "ipv6-labeled" {1702      enum "ipv6-labeled" {
2412        value 7;1703        value 7;
2413        description1704        description
2414          "IP v6 label";1705          "IP v6 label";
2415      }1706      }
2416      enum "vpnv6" {1707      enum "vpnv6" {
2417        value 8;1708        value 8;
2418        description1709        description
2419          "IP v6 virtual private network";1710          "IP v6 virtual private network";
2420      }1711      }
2421      enum "ipv4-mdt" {1712      enum "ipv4-mdt" {
2422        value 9;1713        value 9;
2423        description1714        description
2424          "IP v4 Multicast  Distribution Tree";1715          "IP v4 Multicast  Distribution Tree";
2425      }1716      }
2426      enum "l2vpn-vpls" {1717      enum "l2vpn-vpls" {
2427        value 10;1718        value 10;
2428        description1719        description
2429          "L2VPN VPLS";1720          "L2VPN VPLS";
2430      }1721      }
2431      enum "rt-constraint" {1722      enum "rt-constraint" {
2432        value 11;1723        value 11;
2433        description1724        description
2434          "IP RT-Constraint";1725          "IP RT-Constraint";
2435      }1726      }
2436      enum "ipv4-mvpn" {1727      enum "ipv4-mvpn" {
2437        value 12;1728        value 12;
2438        description1729        description
2439          "IP v4 mvpn";1730          "IP v4 mvpn";
2440      }1731      }
2441      enum "ipv6-mvpn" {1732      enum "ipv6-mvpn" {
2442        value 13;1733        value 13;
2443        description1734        description
2444          "IP v6 mvpn";1735          "IP v6 mvpn";
2445      }1736      }
2446      enum "l2vpn-evpn" {1737      enum "l2vpn-evpn" {
2447        value 14;1738        value 14;
2448        description1739        description
2449          "L2VPN EVPN";1740          "L2VPN EVPN";
2450      }1741      }
2451      enum "ls-ls" {1742      enum "ls-ls" {
2452        value 15;1743        value 15;
2453        description1744        description
2454          "Link-state Link-state";1745          "Link-state Link-state";
2455      }1746      }
2456      enum "vpnv4-multicast" {1747      enum "vpnv4-multicast" {
2457        value 16;1748        value 16;
2458        description1749        description
2459          "IP v4 virtual private network for multicast";1750          "IP v4 virtual private network for multicast";
2460      }1751      }
2461      enum "vpnv6-multicast" {1752      enum "vpnv6-multicast" {
2462        value 17;1753        value 17;
2463        description1754        description
2464          "IP v6 virtual private network for multicast";1755          "IP v6 virtual private network for multicast";
2465      }1756      }
2466      enum "ipv4-flowspec" {1757      enum "ipv4-flowspec" {
2467        value 18;1758        value 18;
2468        description1759        description
2469          "IP v4 flowspec";1760          "IP v4 flowspec";
2470      }1761      }
2471      enum "ipv6-flowspec" {1762      enum "ipv6-flowspec" {
2472        value 19;1763        value 19;
2473        description1764        description
2474          "IP v6 flowspec";1765          "IP v6 flowspec";
2475      }1766      }
2476      enum "vpnv4-flowspec" {1767      enum "vpnv4-flowspec" {
2477        value 20;1768        value 20;
2478        description1769        description
2479          "IP v4 vpn flowspec";1770          "IP v4 vpn flowspec";
2480      }1771      }
2481      enum "vpnv6-flowspec" {1772      enum "vpnv6-flowspec" {
2482        value 21;1773        value 21;
2483        description1774        description
2484          "IP v6 vpn flowspec";1775          "IP v6 vpn flowspec";
2485      }1776      }
2486      enum "l2vpn-mspw" {1777      enum "l2vpn-mspw" {
2487        value 22;1778        value 22;
2488        description1779        description
2489          "L2VPN Multi-segment pseudowire";1780          "L2VPN Multi-segment pseudowire";
2490      }1781      }
2491      enum "ipv4-sr-policy" {1782      enum "ipv4-sr-policy" {
2492        value 23;1783        value 23;
2493        description1784        description
2494          "IP v4 SR Policy";1785          "IP v4 SR Policy";
2495      }1786      }
2496      enum "ipv6-sr-policy" {1787      enum "ipv6-sr-policy" {
2497        value 24;1788        value 24;
2498        description1789        description
2499          "IP v6 SR Policy";1790          "IP v6 SR Policy";
2500      }1791      }
2501      enum "no-address-family" {1792      enum "no-address-family" {
2502        value 25;1793        value 25;
2503        description1794        description
2504          "Address-family not applicable";1795          "Address-family not applicable";
2505      }1796      }
2506      enum "all-address-families" {1797      enum "all-address-families" {
2507        value 26;1798        value 26;
2508        description1799        description
2509          "All address-families";1800          "All address-families";
2510      }1801      }
2511    }1802    }
2512    description1803    description
2513      "BGP Address family";1804      "BGP Address family";
2514  }1805  }
25151806
n2516  grouping BPM-ORR-GROUP-BAG {n
2517    description
2518      "BPM ORR Group Information";
2519    container orr-root-address {
2520      description
2521        "ORR Root Address";
2522      uses BGP-ADDRTYPE;
2523    }
2524    container orr-sec-root-address {
2525      description
2526        "ORR Sec Root Address";
2527      uses BGP-ADDRTYPE;
2528    }
2529    container orr-ter-root-address {
2530      description
2531        "ORR ter Root Address";
2532      uses BGP-ADDRTYPE;
2533    }
2534    leaf orr-group-name {
2535      type string;
2536      description
2537        "ORR Group Name";
2538    }
2539    leaf is-orr-group-ipv4 {
2540      type boolean;
2541      description
2542        "Is IPv4 ORR Group";
2543    }
2544    leaf is-orr-global-defined {
2545      type boolean;
2546      description
2547        "Is ORR group configured globally";
2548    }
2549    leaf orrafi-ref-count {
2550      type uint32;
2551      description
2552        "Number of used afis";
2553    }
2554    leaf neighbor-count {
2555      type uint32;
2556      description
2557        "Used by Total number of neighbors";
2558    }
2559    leaf flex-algo {
2560      type uint32;
2561      description
2562        "Flex algo value";
2563    }
2564    leaf is-orr-root-address-configured {
2565      type boolean;
2566      description
2567        "ORR Root address configured";
2568    }
2569    leaf is-orr-sec-root-address-configured {
2570      type boolean;
2571      description
2572        "ORR Sec Root address configured";
2573    }
2574    leaf is-orr-ter-root-address-configured {
2575      type boolean;
2576      description
2577        "ORR Ter Root address configured";
2578    }
2579    leaf addpath-route-policy {
2580      type string;
2581      description
2582        "Route Policy for additional paths selection";
2583    }
2584    list neighbor-af-count {
2585      max-elements "25";
2586      description
2587        "Used by Total number of neighbors per afi";
2588      leaf entry {
2589        type uint32;
2590        description
2591          "Used by Total number of neighbors per afi";
2592      }
2593    }
2594    list used-af {
2595      min-elements 25;
2596      max-elements "25";
2597      description
2598        "Is ORR group used by af";
2599      leaf entry {
2600        type boolean;
2601        description
2602          "Array entry.";
2603      }
2604    }
2605  }
2606 
2607  grouping BGP-AFLIST-TYPE {
2608    description
2609      "Address Families information";
2610    leaf af-name {
2611      type string;
2612      description
2613        "The name of Address Families";
2614    }
2615    leaf is-enabled {
2616      type boolean;
2617      description
2618        "Flag to indicat if this AF is enabled";
2619    }
2620  }
2621 
2622  grouping BGP-INSTANCE-INFO {1807  grouping BGP-INSTANCE-INFO {
2623    description1808    description
2624      "BGP instance information";1809      "BGP instance information";
2625    leaf instance-identifier {1810    leaf instance-identifier {
2626      type uint16;1811      type uint16;
2627      description1812      description
n2628        "The identifier of the BGP instance";n1813        "Instance Identifier";
2629    }1814    }
2630    leaf placed-group-id {1815    leaf placed-group-id {
2631      type uint16;1816      type uint16;
2632      description1817      description
2633        "Placed Group Identifier";1818        "Placed Group Identifier";
2634    }1819    }
2635    leaf instance-name-str {1820    leaf instance-name-str {
2636      type string;1821      type string;
2637      description1822      description
n2638        "BGP Instance Name";n1823        "Instance Name";
2639    }1824    }
2640    leaf as-number {1825    leaf as-number {
2641      type uint32;1826      type uint32;
2642      description1827      description
2643        "AS Number";1828        "AS Number";
2644    }1829    }
2645    leaf number-of-vrfs {1830    leaf number-of-vrfs {
2646      type uint32;1831      type uint32;
2647      description1832      description
2648        "Number of VRFs";1833        "Number of VRFs";
2649    }1834    }
2650    leaf read-only-enabled {1835    leaf read-only-enabled {
2651      type boolean;1836      type boolean;
2652      description1837      description
n2653        "Flag to indicate if BGP Read-Only mode isn1838        "Read-only is enabled";
2654         enabled";
2655    }1839    }
2656    leaf install-diversion-enabled {1840    leaf install-diversion-enabled {
2657      type boolean;1841      type boolean;
2658      description1842      description
n2659        "Flag to indicate if BGP Install diversion isn1843        "Install diversion is enabled";
2660         enabled";
2661    }1844    }
2662    leaf srgb-start-configured {1845    leaf srgb-start-configured {
2663      type uint32;1846      type uint32;
2664      description1847      description
2665        "Configured start value of Segment-routing global1848        "Configured start value of Segment-routing global
2666         block";1849         block";
2667    }1850    }
2668    leaf srgb-end-configured {1851    leaf srgb-end-configured {
2669      type uint32;1852      type uint32;
2670      description1853      description
2671        "Configured end value of Segment-routing global1854        "Configured end value of Segment-routing global
2672         block";1855         block";
2673    }1856    }
2674    list af-array {1857    list af-array {
nn1858      min-elements 25;
2675      max-elements "25";1859      max-elements "25";
2676      description1860      description
n2677        "List of Address Families";n1861        "Array of Address Families";
2678      uses BGP-AFLIST-TYPE;1862      leaf entry {
1863        type boolean;
1864        description
1865          "Array entry.";
1866      }
2679    }1867    }
2680  }1868  }
26811869
2682  grouping BGP-INSTANCES-INFO-BAG {1870  grouping BGP-INSTANCES-INFO-BAG {
2683    description1871    description
2684      "BGP instances information bag";1872      "BGP instances information bag";
2685    list instance {1873    list instance {
2686      description1874      description
2687        "Array of instance information";1875        "Array of instance information";
2688      uses BGP-INSTANCE-INFO;1876      uses BGP-INSTANCE-INFO;
2689    }1877    }
2690  }1878  }
26911879
2692  grouping BGP-EDM-LABEL-RPF-NBR {1880  grouping BGP-EDM-LABEL-RPF-NBR {
2693    description1881    description
2694      "BGP EDM LABEL RPF NBR";1882      "BGP EDM LABEL RPF NBR";
2695    leaf ip {1883    leaf ip {
2696      type inet:ipv4-address;1884      type inet:ipv4-address;
2697      description1885      description
n2698        "The ip address of the BGP edm rpf nbr";n1886        "ip";
2699    }1887    }
2700    leaf ip6 {1888    leaf ip6 {
2701      type inet:ipv6-address;1889      type inet:ipv6-address;
2702      description1890      description
n2703        "The ipv6 address of the BGP edm rpf nbr";n1891        "ip6";
2704    }1892    }
2705    leaf count {1893    leaf count {
2706      type uint32;1894      type uint32;
2707      description1895      description
n2708        "The number of prefixes for rpf";n1896        "count";
2709    }1897    }
2710    leaf flags {1898    leaf flags {
2711      type uint32;1899      type uint32;
2712      description1900      description
n2713        "RPF neighbor node flags";n1901        "flags";
2714    }1902    }
2715  }1903  }
27161904
2717  grouping BGP-EDM-LABEL-RPF-INFO {1905  grouping BGP-EDM-LABEL-RPF-INFO {
2718    description1906    description
2719      "BGP EDM LABEL RPF INFO";1907      "BGP EDM LABEL RPF INFO";
2720    leaf label {1908    leaf label {
2721      type uint32;1909      type uint32;
2722      description1910      description
n2723        "The label of the BGP rpf";n1911        "label";
2724    }1912    }
2725    leaf flags {1913    leaf flags {
2726      type uint32;1914      type uint32;
2727      description1915      description
n2728        "The flags of the BGP rpf";n1916        "flags";
2729    }1917    }
2730    leaf install {1918    leaf install {
2731      type Bgp-label-rpf-install;1919      type Bgp-label-rpf-install;
2732      description1920      description
n2733        "The BGP label rpf install";n1921        "install";
2734    }1922    }
2735    list rpf {1923    list rpf {
2736      description1924      description
2737        "rpf";1925        "rpf";
2738      uses BGP-EDM-LABEL-RPF-NBR;1926      uses BGP-EDM-LABEL-RPF-NBR;
2739    }1927    }
2740  }1928  }
27411929
2742  grouping BGP-LABEL-RPF-BAG {1930  grouping BGP-LABEL-RPF-BAG {
2743    description1931    description
2744      "BGP LABEL RPF BAG";1932      "BGP LABEL RPF BAG";
2745    container rpf {1933    container rpf {
2746      description1934      description
n2747        "The reverse path forwarding (RPF) of BGP label";n1935        "rpf";
2748      uses BGP-EDM-LABEL-RPF-INFO;1936      uses BGP-EDM-LABEL-RPF-INFO;
n2749    }n
2750  }
2751 
2752  grouping BGP-MEMORY-HWM-BAG {
2753    description
2754      "BGP memory high water mark information";
2755    leaf memory-used {
2756      type uint64;
2757      description
2758        "Memory used by the BGP process";
2759    }
2760    leaf rlimit-percentage {
2761      type int32;
2762      units "percentage";
2763      description
2764        "Memory percentage of rlimit";
2765    }
2766    leaf networks {
2767      type uint32;
2768      description
2769        "Number of networks";
2770    }
2771    leaf paths {
2772      type uint32;
2773      description
2774        "Number of paths";
2775    }
2776    leaf path-elems {
2777      type uint32;
2778      description
2779        "Number of path elems";
2780    }
2781    leaf attribute-count {
2782      type uint32;
2783      description
2784        "Number of attributes";
2785    }
2786    leaf time {
2787      type uint32;
2788      description
2789        "Time that the report was generated";
2790    }
2791  }
2792 
2793  grouping BGP-EDM-OT-PROV-NBR-AF-DB-ENTRY {
2794    description
2795      "BGP EDM OT PROV NBR AF DB ENTRY";
2796    container neighbor-address {
2797      description
2798        "BGP neighbor Address";
2799      uses BGP-ADDRTYPE;
2800    }
2801    container track-created-ts {
2802      description
2803        "track created ts";
2804      uses BGP-TIMESPEC;
2805    }
2806    container track-created-age {
2807      description
2808        "track created age";
2809      uses BGP-TIMESPEC;
2810    }
2811    container nbr-af-event-ts {
2812      description
2813        "nbr af event ts";
2814      uses BGP-TIMESPEC;
2815    }
2816    container nbr-af-event-age {
2817      description
2818        "nbr af event age";
2819      uses BGP-TIMESPEC;
2820    }
2821    container status-change-ts {
2822      description
2823        "status change ts";
2824      uses BGP-TIMESPEC;
2825    }
2826    container status-change-age {
2827      description
2828        "status change age";
2829      uses BGP-TIMESPEC;
2830    }
2831    container status-notify-ts {
2832      description
2833        "status notify ts";
2834      uses BGP-TIMESPEC;
2835    }
2836    container status-notify-age {
2837      description
2838        "status notify age";
2839      uses BGP-TIMESPEC;
2840    }
2841    leaf vrf-name {
2842      type string;
2843      description
2844        "vrf name";
2845    }
2846    leaf afi {
2847      type uint8;
2848      description
2849        "afi";
2850    }
2851    leaf state {
2852      type Bgp-track-state;
2853      description
2854        "BGP Track Entry State";
2855    }
2856    leaf flags {
2857      type uint8;
2858      description
2859        "flags";
2860    }
2861    leaf notify-state {
2862      type Bgp-track-state;
2863      description
2864        "BGP Track Entry Previous State";
2865    }
2866    leaf prev-state {
2867      type Bgp-track-state;
2868      description
2869        "BGP Track Entry Previous State";
2870    }
2871  }
2872 
2873  grouping BGP-OT-PROV-NBR-AF-DB-BAG {
2874    description
2875      "BGP OT PROV NBR AF DB BAG";
2876    container entry {
2877      description
2878        "entry";
2879      uses BGP-EDM-OT-PROV-NBR-AF-DB-ENTRY;
2880    }
2881  }
2882 
2883  grouping BGP-VRF-RT-HASH-SLICE-BAG {
2884    description
2885      "BGP VRF RT HASH SLICE BAG";
2886    leaf route-target-hash-value {
2887      type uint32;
2888      description
2889        "Hash value calculated from Route Target value
2890         used to save in BGP's internal hash table";
2891    }
2892    list rt {
2893      description
2894        "rt";
2895      uses BGP-EDM-RT-ENTRY;
2896    }1937    }
2897  }1938  }
28981939
2899  grouping BGP-RPKI-SUMMARY-BAG {1940  grouping BGP-RPKI-SUMMARY-BAG {
2900    description1941    description
2901      "BGP RPKI SUMMARY BAG";1942      "BGP RPKI SUMMARY BAG";
2902    leaf servers {1943    leaf servers {
2903      type uint32;1944      type uint32;
2904      description1945      description
2905        "Number of RPKI Servers configured";1946        "Number of RPKI Servers configured";
2906    }1947    }
2907    leaf ipv4roa-nets {1948    leaf ipv4roa-nets {
2908      type uint32;1949      type uint32;
2909      description1950      description
2910        "Number of IPv4 ROA Nets";1951        "Number of IPv4 ROA Nets";
2911    }1952    }
2912    leaf ipv4roa-paths {1953    leaf ipv4roa-paths {
2913      type uint32;1954      type uint32;
2914      description1955      description
2915        "Number of IPv4 ROA Paths";1956        "Number of IPv4 ROA Paths";
2916    }1957    }
2917    leaf ipv6roa-nets {1958    leaf ipv6roa-nets {
2918      type uint32;1959      type uint32;
2919      description1960      description
2920        "Number of IPv6 ROA Nets";1961        "Number of IPv6 ROA Nets";
2921    }1962    }
2922    leaf ipv6roa-paths {1963    leaf ipv6roa-paths {
2923      type uint32;1964      type uint32;
2924      description1965      description
2925        "Number of IPv6 ROA Paths";1966        "Number of IPv6 ROA Paths";
n2926    }n
2927    leaf ipv4-table-version {
2928      type uint64;
2929      description
2930        "RPKI IPv4 Table Version";
2931    }
2932    leaf ipv4-table-scanner-version {
2933      type uint64;
2934      description
2935        "RPKI IPv4 Scanner Version";
2936    }
2937    leaf ipv6-table-version {
2938      type uint64;
2939      description
2940        "RPKI IPv6 Table Version";
2941    }
2942    leaf ipv6-table-scanner-version {
2943      type uint64;
2944      description
2945        "RPKI IPv6 Scanner Version";
2946    }1967    }
2947  }1968  }
29481969
2949  grouping BGP-UPDERR-PROC-BAG {1970  grouping BGP-UPDERR-PROC-BAG {
2950    description1971    description
2951      "BGP Update error-handling Process information";1972      "BGP Update error-handling Process information";
2952    container last-update-malformed-timestamp {1973    container last-update-malformed-timestamp {
2953      description1974      description
2954        "Last malformed messages received time: time1975        "Last malformed messages received time: time
2955         elapsed since 00:00:00 UTC, January 1, 1970";1976         elapsed since 00:00:00 UTC, January 1, 1970";
2956      uses BGP-TIMESPEC;1977      uses BGP-TIMESPEC;
2957    }1978    }
2958    leaf update-error-handling-basic-ebgp {1979    leaf update-error-handling-basic-ebgp {
2959      type boolean;1980      type boolean;
2960      description1981      description
2961        "Is basic error-handling for EBGP enabled";1982        "Is basic error-handling for EBGP enabled";
2962    }1983    }
2963    leaf update-error-handling-basic-ibgp {1984    leaf update-error-handling-basic-ibgp {
2964      type boolean;1985      type boolean;
2965      description1986      description
2966        "Is basic error-handling for IBGP enabled";1987        "Is basic error-handling for IBGP enabled";
2967    }1988    }
2968    leaf update-error-handling-extended-ebgp {1989    leaf update-error-handling-extended-ebgp {
2969      type boolean;1990      type boolean;
2970      description1991      description
2971        "Is extended error-handling for EBGP enabled";1992        "Is extended error-handling for EBGP enabled";
2972    }1993    }
2973    leaf update-error-handling-extended-ibgp {1994    leaf update-error-handling-extended-ibgp {
2974      type boolean;1995      type boolean;
2975      description1996      description
2976        "Is extended error-handling for IBGP enabled";1997        "Is extended error-handling for IBGP enabled";
2977    }1998    }
2978    leaf update-malformed-message-count {1999    leaf update-malformed-message-count {
2979      type uint32;2000      type uint32;
2980      description2001      description
n2981        "BGP malformed messages received count update";n2002        "Malformed messages count";
2982    }2003    }
2983    leaf update-malformed-neighbor-count {2004    leaf update-malformed-neighbor-count {
2984      type uint32;2005      type uint32;
2985      description2006      description
2986        "Count of neighbors that received malformed2007        "Count of neighbors that received malformed
2987         messages";2008         messages";
2988    }2009    }
2989    leaf last-update-malformed-age {2010    leaf last-update-malformed-age {
2990      type uint32;2011      type uint32;
2991      units "second";2012      units "second";
2992      description2013      description
2993        "Time since last malformed messages received2014        "Time since last malformed messages received
2994         event (in seconds)";2015         event (in seconds)";
2995    }2016    }
2996  }2017  }
29972018
2998  grouping BGP-EDM-RPKI-ROUTE {2019  grouping BGP-EDM-RPKI-ROUTE {
2999    description2020    description
3000      "BGP EDM RPKI ROUTE";2021      "BGP EDM RPKI ROUTE";
3001    leaf af-name {2022    leaf af-name {
3002      type Bgp-rpki-af;2023      type Bgp-rpki-af;
3003      description2024      description
3004        "Address Family";2025        "Address Family";
3005    }2026    }
3006    leaf address {2027    leaf address {
3007      type string;2028      type string;
3008      description2029      description
3009        "Address Prefix";2030        "Address Prefix";
3010    }2031    }
3011    leaf min-prefix-len {2032    leaf min-prefix-len {
3012      type uint8;2033      type uint8;
3013      description2034      description
3014        "Minimum Prefix Length";2035        "Minimum Prefix Length";
3015    }2036    }
3016    leaf max-prefix-len {2037    leaf max-prefix-len {
3017      type uint8;2038      type uint8;
3018      description2039      description
3019        "Maximum Prefix Length";2040        "Maximum Prefix Length";
3020    }2041    }
3021    leaf as {2042    leaf as {
3022      type uint32;2043      type uint32;
3023      description2044      description
3024        "AS number";2045        "AS number";
3025    }2046    }
nn2047    leaf refcount {
2048      type uint16;
2049      description
2050        "Refcount";
2051    }
3026    leaf server {2052    leaf server {
3027      type string;2053      type string;
3028      description2054      description
3029        "Source Server";2055        "Source Server";
3030    }2056    }
3031    leaf stale {2057    leaf stale {
3032      type boolean;2058      type boolean;
3033      description2059      description
3034        "ROA is stale";2060        "ROA is stale";
3035    }2061    }
n3036    leaf version {n
3037      type uint64;
3038      description
3039        "ROA version";
3040    }
3041  }2062  }
30422063
3043  grouping BGP-RPKI-ROUTES-BAG {2064  grouping BGP-RPKI-ROUTES-BAG {
3044    description2065    description
3045      "BGP RPKI ROUTES BAG";2066      "BGP RPKI ROUTES BAG";
3046    list rpki-route {2067    list rpki-route {
3047      description2068      description
3048        "Array or RPKI routes";2069        "Array or RPKI routes";
3049      uses BGP-EDM-RPKI-ROUTE;2070      uses BGP-EDM-RPKI-ROUTE;
3050    }2071    }
3051  }2072  }
30522073
n3053  grouping BGP-EDM-GSHUT-IF-ENTRY {n
3054    description
3055      "BGP EDM GSHUT IF ENTRY";
3056    container gshut-if-time-stamp {
3057      description
3058        "BGP gshut timestamp";
3059      uses BGP-TIMESPEC;
3060    }
3061    container gshut-if-age {
3062      description
3063        "BGP gshut if age";
3064      uses BGP-TIMESPEC;
3065    }
3066    leaf name {
3067      type string;
3068      description
3069        "Name";
3070    }
3071  }
3072 
3073  grouping BGP-GSHUT-IF-BAG {
3074    description
3075      "gshut interface information";
3076    container if-entry {
3077      description
3078        "The entry of gshut interface";
3079      uses BGP-EDM-GSHUT-IF-ENTRY;
3080    }
3081  }
3082 
3083  grouping BGP-EDM-GSHUT-LOC-ENTRY {
3084    description
3085      "BGP EDM GSHUT LOC ENTRY";
3086    container gshut-loc-time-stap {
3087      description
3088        "BGP gshut locationb timestamp";
3089      uses BGP-TIMESPEC;
3090    }
3091    container gshut-loc-age {
3092      description
3093        "BGP gshut location age";
3094      uses BGP-TIMESPEC;
3095    }
3096    leaf loc {
3097      type uint32;
3098      description
3099        "BGP gshut location nodeif";
3100    }
3101  }
3102 
3103  grouping BGP-GSHUT-LOC-BAG {
3104    description
3105      "gshut location information";
3106    container loc-entry {
3107      description
3108        "The entry of gshut location";
3109      uses BGP-EDM-GSHUT-LOC-ENTRY;
3110    }
3111  }
3112 
3113  grouping BGP-EDM-GSHUT-NBR-ALL-ENTRY {
3114    description
3115      "BGP EDM GSHUT NBR ALL ENTRY";
3116    container gshut-nbr-all-ts {
3117      description
3118        "BGP gshut nbr-all timestamp";
3119      uses BGP-TIMESPEC;
3120    }
3121    container gshut-nbr-all-age {
3122      description
3123        "BGP gshut nbr-all age";
3124      uses BGP-TIMESPEC;
3125    }
3126    leaf nbr-all {
3127      type uint32;
3128      description
3129        "BGP gshut nbr-all entry";
3130    }
3131  }
3132 
3133  grouping BGP-GSHUT-NBR-ALL-BAG {
3134    description
3135      "gshut nbr all information";
3136    container nbr-all-entry {
3137      description
3138        "The entry of gshut nbr all";
3139      uses BGP-EDM-GSHUT-NBR-ALL-ENTRY;
3140    }
3141  }
3142 
3143  grouping BGP-EDM-LABEL-STATS {2074  grouping BGP-EDM-LABEL-STATS {
3144    description2075    description
3145      "BGP EDM LABEL STATS";2076      "BGP EDM LABEL STATS";
3146    leaf nbgp-label-alloc-type-gbl-ipv4 {2077    leaf nbgp-label-alloc-type-gbl-ipv4 {
3147      type uint32;2078      type uint32;
3148      description2079      description
3149        "nBGP LABEL ALLOC TYPE GBL IPv4";2080        "nBGP LABEL ALLOC TYPE GBL IPv4";
3150    }2081    }
3151    leaf nbgp-label-alloc-type-gbl-ipv6 {2082    leaf nbgp-label-alloc-type-gbl-ipv6 {
3152      type uint32;2083      type uint32;
3153      description2084      description
3154        "nBGP LABEL ALLOC TYPE GBL IPv6";2085        "nBGP LABEL ALLOC TYPE GBL IPv6";
3155    }2086    }
3156    leaf nbgp-label-alloc-type-vrf-ipv4 {2087    leaf nbgp-label-alloc-type-vrf-ipv4 {
3157      type uint32;2088      type uint32;
3158      description2089      description
3159        "nBGP LABEL ALLOC TYPE VRF IPv4";2090        "nBGP LABEL ALLOC TYPE VRF IPv4";
3160    }2091    }
3161    leaf nbgp-label-alloc-type-vrf-ipv6 {2092    leaf nbgp-label-alloc-type-vrf-ipv6 {
3162      type uint32;2093      type uint32;
3163      description2094      description
3164        "nBGP LABEL ALLOC TYPE VRF IPv6";2095        "nBGP LABEL ALLOC TYPE VRF IPv6";
3165    }2096    }
3166    leaf nbgp-label-alloc-type-ce-ipv4 {2097    leaf nbgp-label-alloc-type-ce-ipv4 {
3167      type uint32;2098      type uint32;
3168      description2099      description
3169        "nBGP LABEL ALLOC TYPE CE IPv4";2100        "nBGP LABEL ALLOC TYPE CE IPv4";
3170    }2101    }
3171    leaf nbgp-label-alloc-type-ce-ipv6 {2102    leaf nbgp-label-alloc-type-ce-ipv6 {
3172      type uint32;2103      type uint32;
3173      description2104      description
3174        "nBGP LABEL ALLOC TYPE CE IPv6";2105        "nBGP LABEL ALLOC TYPE CE IPv6";
3175    }2106    }
3176    leaf nbgp-label-alloc-type-tbl-ipv4 {2107    leaf nbgp-label-alloc-type-tbl-ipv4 {
3177      type uint32;2108      type uint32;
3178      description2109      description
3179        "nBGP LABEL ALLOC TYPE TBL IPv4";2110        "nBGP LABEL ALLOC TYPE TBL IPv4";
3180    }2111    }
3181    leaf nbgp-label-alloc-type-tbl-ipv6 {2112    leaf nbgp-label-alloc-type-tbl-ipv6 {
3182      type uint32;2113      type uint32;
3183      description2114      description
3184        "nBGP LABEL ALLOC TYPE TBL IPv6";2115        "nBGP LABEL ALLOC TYPE TBL IPv6";
3185    }2116    }
n3186    leaf nbgp-label-alloc-type-vrf-46 {n
3187      type uint32;
3188      description
3189        "nBGP LABEL ALLOC TYPE VRF 46";
3190    }
3191    leaf nbgp-label-alloc-type-vpn-ipv4 {2117    leaf nbgp-label-alloc-type-vpn-ipv4 {
3192      type uint32;2118      type uint32;
3193      description2119      description
3194        "nBGP LABEL ALLOC TYPE VPN IPv4";2120        "nBGP LABEL ALLOC TYPE VPN IPv4";
3195    }2121    }
3196    leaf nbgp-label-alloc-type-vpn-ipv6 {2122    leaf nbgp-label-alloc-type-vpn-ipv6 {
3197      type uint32;2123      type uint32;
3198      description2124      description
3199        "nBGP LABEL ALLOC TYPE VPN IPv6";2125        "nBGP LABEL ALLOC TYPE VPN IPv6";
3200    }2126    }
3201    leaf nbgp-label-alloc-type-asbr-nh {2127    leaf nbgp-label-alloc-type-asbr-nh {
3202      type uint32;2128      type uint32;
3203      description2129      description
3204        "nBGP LABEL ALLOC TYPE ASBR NH";2130        "nBGP LABEL ALLOC TYPE ASBR NH";
3205    }2131    }
n3206    leaf nbgp-label-alloc-type-l2vpn-evpn {n
3207      type uint32;
3208      description
3209        "nBGP LABEL ALLOC TYPE L2VPN EVPN";
3210    }
3211    leaf nbgp-labels {2132    leaf nbgp-labels {
3212      type uint32;2133      type uint32;
3213      description2134      description
3214        "nBGP LABELS";2135        "nBGP LABELS";
3215    }2136    }
3216    leaf bgp-label-rpf-lists {2137    leaf bgp-label-rpf-lists {
3217      type uint32;2138      type uint32;
3218      description2139      description
n3219        "The rpf lists associated withthe label";n2140        "bgp label rpf lists";
3220    }2141    }
3221    leaf bgp-label-rpf-nodes {2142    leaf bgp-label-rpf-nodes {
3222      type uint32;2143      type uint32;
3223      description2144      description
n3224        "The rpf nodes associated withthe label";n2145        "bgp label rpf nodes";
3225    }2146    }
3226  }2147  }
32272148
3228  grouping BGP-LABEL-SUMMARY-BAG {2149  grouping BGP-LABEL-SUMMARY-BAG {
3229    description2150    description
3230      "BGP LABEL SUMMARY BAG";2151      "BGP LABEL SUMMARY BAG";
3231    container stats {2152    container stats {
3232      description2153      description
n3233        "The statistics of the BGP label summary";n2154        "stats";
3234      uses BGP-EDM-LABEL-STATS;2155      uses BGP-EDM-LABEL-STATS;
3235    }2156    }
3236  }2157  }
32372158
3238  grouping BGP-EDM-RPKI-CACHE {2159  grouping BGP-EDM-RPKI-CACHE {
3239    description2160    description
3240      "BGP EDM RPKI CACHE";2161      "BGP EDM RPKI CACHE";
3241    leaf name {2162    leaf name {
3242      type string;2163      type string;
3243      description2164      description
3244        "Server Name";2165        "Server Name";
3245    }2166    }
3246    leaf preference {2167    leaf preference {
3247      type uint32;2168      type uint32;
3248      description2169      description
3249        "Server Preference";2170        "Server Preference";
3250    }2171    }
3251    leaf port {2172    leaf port {
3252      type uint32;2173      type uint32;
3253      description2174      description
3254        "Server TCP Port number";2175        "Server TCP Port number";
3255    }2176    }
3256    leaf state {2177    leaf state {
3257      type Bgp-rpki-state;2178      type Bgp-rpki-state;
3258      description2179      description
3259        "Server Internal State";2180        "Server Internal State";
3260    }2181    }
3261    leaf state-time {2182    leaf state-time {
3262      type uint32;2183      type uint32;
3263      description2184      description
3264        "Server Internal State timestamp (unix time)";2185        "Server Internal State timestamp (unix time)";
3265    }2186    }
3266    leaf shutdown {2187    leaf shutdown {
3267      type boolean;2188      type boolean;
3268      description2189      description
3269        "Server Shutdown";2190        "Server Shutdown";
3270    }2191    }
3271    leaf retries {2192    leaf retries {
3272      type uint32;2193      type uint32;
3273      description2194      description
3274        "Number of connection retries";2195        "Number of connection retries";
3275    }2196    }
3276    leaf close-reason {2197    leaf close-reason {
3277      type Bgp-rpki-creason;2198      type Bgp-rpki-creason;
3278      description2199      description
3279        "Server close reason";2200        "Server close reason";
3280    }2201    }
3281    leaf close-time {2202    leaf close-time {
3282      type uint32;2203      type uint32;
3283      description2204      description
3284        "Server close elapsed time";2205        "Server close elapsed time";
3285    }2206    }
3286    leaf close-time-real {2207    leaf close-time-real {
3287      type uint32;2208      type uint32;
3288      description2209      description
3289        "Server close real timestamp (unix time)";2210        "Server close real timestamp (unix time)";
3290    }2211    }
3291    leaf read-bytes {2212    leaf read-bytes {
3292      type uint32;2213      type uint32;
3293      units "byte";2214      units "byte";
3294      description2215      description
3295        "Number of bytes read from the server";2216        "Number of bytes read from the server";
3296    }2217    }
3297    leaf write-bytes {2218    leaf write-bytes {
3298      type uint32;2219      type uint32;
3299      units "byte";2220      units "byte";
3300      description2221      description
3301        "Number of bytes written to the server";2222        "Number of bytes written to the server";
3302    }2223    }
3303    leaf transport {2224    leaf transport {
3304      type uint32;2225      type uint32;
3305      description2226      description
3306        "Server transport type";2227        "Server transport type";
3307    }2228    }
3308    leaf username {2229    leaf username {
3309      type string;2230      type string;
3310      description2231      description
3311        "Server SSH username";2232        "Server SSH username";
3312    }2233    }
3313    leaf password {2234    leaf password {
3314      type string;2235      type string;
3315      description2236      description
3316        "Server SSH password";2237        "Server SSH password";
3317    }2238    }
3318    leaf sshpid {2239    leaf sshpid {
3319      type uint32;2240      type uint32;
3320      description2241      description
3321        "Server SSH process ID";2242        "Server SSH process ID";
3322    }2243    }
3323    leaf proto-state {2244    leaf proto-state {
3324      type Bgp-rpki-pstate;2245      type Bgp-rpki-pstate;
3325      description2246      description
3326        "Server Protocol state";2247        "Server Protocol state";
3327    }2248    }
3328    leaf proto-state-time {2249    leaf proto-state-time {
3329      type uint32;2250      type uint32;
3330      description2251      description
3331        "Server Protocol state timestamp (unix time)";2252        "Server Protocol state timestamp (unix time)";
3332    }2253    }
3333    leaf serial {2254    leaf serial {
3334      type uint32;2255      type uint32;
3335      description2256      description
3336        "Server serial number";2257        "Server serial number";
3337    }2258    }
3338    leaf nonce {2259    leaf nonce {
3339      type uint32;2260      type uint32;
3340      description2261      description
3341        "Server nonce";2262        "Server nonce";
3342    }2263    }
3343    leaf refresh-time {2264    leaf refresh-time {
3344      type int32;2265      type int32;
3345      units "second";2266      units "second";
3346      description2267      description
3347        "Server refresh time (seconds)";2268        "Server refresh time (seconds)";
3348    }2269    }
3349    leaf response-time {2270    leaf response-time {
3350      type int32;2271      type int32;
3351      units "second";2272      units "second";
3352      description2273      description
3353        "Server response time (seconds)";2274        "Server response time (seconds)";
3354    }2275    }
3355    leaf purge-time {2276    leaf purge-time {
3356      type int32;2277      type int32;
3357      units "second";2278      units "second";
3358      description2279      description
3359        "Server purge time (seconds)";2280        "Server purge time (seconds)";
3360    }2281    }
3361    leaf ipv4roa {2282    leaf ipv4roa {
3362      type uint32;2283      type uint32;
3363      description2284      description
3364        "Total IPv4 ROAs currently recv'd from server";2285        "Total IPv4 ROAs currently recv'd from server";
3365    }2286    }
3366    leaf ipv4roa-announce {2287    leaf ipv4roa-announce {
3367      type uint32;2288      type uint32;
3368      description2289      description
3369        "Total IPv4 ROAs announced by the server";2290        "Total IPv4 ROAs announced by the server";
3370    }2291    }
3371    leaf ipv4roa-withdraw {2292    leaf ipv4roa-withdraw {
3372      type uint32;2293      type uint32;
3373      description2294      description
3374        "Total IPv4 ROAs withdrawn by the server";2295        "Total IPv4 ROAs withdrawn by the server";
3375    }2296    }
3376    leaf ipv6roa {2297    leaf ipv6roa {
3377      type uint32;2298      type uint32;
3378      description2299      description
3379        "Total IPv6 ROAs currently recv'd from server";2300        "Total IPv6 ROAs currently recv'd from server";
3380    }2301    }
3381    leaf ipv6roa-announce {2302    leaf ipv6roa-announce {
3382      type uint32;2303      type uint32;
3383      description2304      description
3384        "Total IPv6 ROAs announced by the server";2305        "Total IPv6 ROAs announced by the server";
3385    }2306    }
3386    leaf ipv6roa-withdraw {2307    leaf ipv6roa-withdraw {
3387      type uint32;2308      type uint32;
3388      description2309      description
3389        "Total IPv6 ROAs withdrawn by the server";2310        "Total IPv6 ROAs withdrawn by the server";
3390    }2311    }
3391    leaf proto-error {2312    leaf proto-error {
3392      type Bgp-rpki-perror;2313      type Bgp-rpki-perror;
3393      description2314      description
3394        "Protocol Error Reason";2315        "Protocol Error Reason";
3395    }2316    }
n3396    leaf bindsrc {n
3397      type string;
3398      description
3399        "Server transport bind source ";
3400    }
3401    leaf identifier {
3402      type uint8;
3403      description
3404        "Allocated Id";
3405    }
3406  }2317  }
34072318
3408  grouping BGP-RPKI-CACHES-BAG {2319  grouping BGP-RPKI-CACHES-BAG {
3409    description2320    description
3410      "BGP RPKI CACHES BAG";2321      "BGP RPKI CACHES BAG";
3411    list rpki-server {2322    list rpki-server {
3412      description2323      description
3413        "Array of RPKI servers";2324        "Array of RPKI servers";
3414      uses BGP-EDM-RPKI-CACHE;2325      uses BGP-EDM-RPKI-CACHE;
n3415    }n
3416  }
3417 
3418  grouping BGP-ORR-GROUP-BASE-BAG {
3419    description
3420      "BGP GBL ORR Group Information";
3421    container orr-root-address {
3422      description
3423        "ORR Root Address";
3424      uses BGP-ADDRTYPE;
3425    }
3426    container orr-sec-root-address {
3427      description
3428        "ORR Sec Root Address";
3429      uses BGP-ADDRTYPE;
3430    }
3431    container orr-ter-root-address {
3432      description
3433        "ORR ter Root Address";
3434      uses BGP-ADDRTYPE;
3435    }
3436    leaf orr-group-name {
3437      type string;
3438      description
3439        "ORR Group Name";
3440    }
3441    leaf is-orr-group-ipv4 {
3442      type boolean;
3443      description
3444        "Is v4 ORR group";
3445    }
3446    leaf is-orr-global-defined {
3447      type boolean;
3448      description
3449        "Is ORR group configured globally";
3450    }
3451    leaf orrafi-ref-count {
3452      type uint32;
3453      description
3454        "Number of used afis";
3455    }
3456    leaf orr-tableid {
3457      type uint32;
3458      description
3459        "ORR Group tableid";
3460    }
3461    leaf flex-algo {
3462      type uint32;
3463      description
3464        "Flex algo value";
3465    }
3466    leaf is-orr-root-address-configured {
3467      type boolean;
3468      description
3469        "ORR Root address configured";
3470    }
3471    leaf is-orr-sec-root-address-configured {
3472      type boolean;
3473      description
3474        "ORR Sec Root address configured";
3475    }
3476    leaf is-orr-ter-root-address-configured {
3477      type boolean;
3478      description
3479        "ORR Ter Root address configured";
3480    }
3481    leaf addpath-route-policy {
3482      type string;
3483      description
3484        "Route Policy for additional paths selection";
3485    }
3486    list used-af {
3487      min-elements 25;
3488      max-elements "25";
3489      description
3490        "Is ORR group used by af";
3491      leaf entry {
3492        type boolean;
3493        description
3494          "Array entry.";
3495      }
3496    }
3497  }
3498 
3499  grouping BGP-MEMORY-HISTORY-BAG {
3500    description
3501      "BGP memory history information";
3502    leaf memory-used {
3503      type uint64;
3504      description
3505        "Memory used by the BGP process";
3506    }
3507    leaf memory-diff {
3508      type uint64;
3509      description
3510        "Memory difference since last report";
3511    }
3512    leaf rlimit-percentage {
3513      type int32;
3514      units "percentage";
3515      description
3516        "Memory percentage of rlimit";
3517    }
3518    leaf networks {
3519      type uint32;
3520      description
3521        "Number of networks";
3522    }
3523    leaf paths {
3524      type uint32;
3525      description
3526        "Number of paths";
3527    }
3528    leaf path-elems {
3529      type uint32;
3530      description
3531        "Number of path elems";
3532    }
3533    leaf attribute-count {
3534      type uint32;
3535      description
3536        "Number of attributes";
3537    }
3538    leaf time {
3539      type uint32;
3540      description
3541        "Time that the report was generated";
3542    }2326    }
3543  }2327  }
35442328
3545  grouping BGP-ATTRFILTER-ENTRY-BAG {2329  grouping BGP-ATTRFILTER-ENTRY-BAG {
3546    description2330    description
3547      "BGP attribute-filter entry information";2331      "BGP attribute-filter entry information";
3548    leaf attribute-filter-entry-requested-action {2332    leaf attribute-filter-entry-requested-action {
3549      type Bgp-bag-upd-filter-action;2333      type Bgp-bag-upd-filter-action;
3550      description2334      description
3551        "Requested filtering action";2335        "Requested filtering action";
3552    }2336    }
3553    leaf attribute-filter-entry-range-start {2337    leaf attribute-filter-entry-range-start {
3554      type uint32;2338      type uint32;
3555      description2339      description
3556        "Start of attribute range";2340        "Start of attribute range";
3557    }2341    }
3558    leaf attribute-filter-entry-range-end {2342    leaf attribute-filter-entry-range-end {
3559      type uint32;2343      type uint32;
3560      description2344      description
3561        "End of attribute range";2345        "End of attribute range";
3562    }2346    }
3563  }2347  }
35642348
3565  grouping BGP-ATTRFILTER-GROUP-BAG {2349  grouping BGP-ATTRFILTER-GROUP-BAG {
3566    description2350    description
3567      "BGP attribute-filter group information";2351      "BGP attribute-filter group information";
3568    leaf attribute-filter-group-name {2352    leaf attribute-filter-group-name {
3569      type string;2353      type string;
3570      description2354      description
n3571        "String for BGP attribute-filter group name";n2355        "Attribute-filter group name";
3572    }2356    }
3573    leaf attribute-filter-total-group-count {2357    leaf attribute-filter-total-group-count {
3574      type uint32;2358      type uint32;
3575      description2359      description
3576        "Total number of attriute-filter groups";2360        "Total number of attriute-filter groups";
3577    }2361    }
3578    list attribute-filter-entry {2362    list attribute-filter-entry {
3579      description2363      description
3580        "List of attriute-filter entries";2364        "List of attriute-filter entries";
3581      uses BGP-ATTRFILTER-ENTRY-BAG;2365      uses BGP-ATTRFILTER-ENTRY-BAG;
3582    }2366    }
3583  }2367  }
35842368
n3585  grouping BGP-EVPN-GW-TRACK-BAG {n
3586    description
3587      "evpn gateway track information";
3588    leaf bvi-interface-handle {
3589      type xr:Interface-name;
3590      description
3591        "BVI Interface handle";
3592    }
3593    leaf bridge-name {
3594      type string;
3595      description
3596        "Name of the Bridge";
3597    }
3598    leaf vrf-name {
3599      type string;
3600      description
3601        "Name of the L3 Vrf";
3602    }
3603  }
3604 
3605  grouping BGP-EDM-LABEL-ENTRY {2369  grouping BGP-EDM-LABEL-ENTRY {
3606    description2370    description
3607      "BGP EDM LABEL ENTRY";2371      "BGP EDM LABEL ENTRY";
3608    leaf label {2372    leaf label {
3609      type uint32;2373      type uint32;
3610      description2374      description
n3611        "The label of the BGP edm entry";n2375        "label";
3612    }2376    }
3613    leaf rds {2377    leaf rds {
3614      type string;2378      type string;
3615      description2379      description
n3616        "The BGP edm route-distinguishers";n2380        "rds";
3617    }2381    }
3618    leaf vrf {2382    leaf vrf {
3619      type string;2383      type string;
3620      description2384      description
n3621        "The BGP external data manager labelvirtualn2385        "vrf";
3622         routing and forwarding";
3623    }2386    }
3624    leaf ip {2387    leaf ip {
3625      type inet:ipv4-address;2388      type inet:ipv4-address;
3626      description2389      description
n3627        "The ip address of the BGP edm label";n2390        "ip";
3628    }2391    }
3629    leaf ip6 {2392    leaf ip6 {
3630      type inet:ipv6-address;2393      type inet:ipv6-address;
3631      description2394      description
n3632        "The ipv6 address of the BGP edm label";n2395        "ip6";
3633    }2396    }
3634    leaf rpc-set-id {2397    leaf rpc-set-id {
3635      type uint32;2398      type uint32;
3636      description2399      description
n3637        "The id of the rpc set";n2400        "rpc set id";
3638    }2401    }
3639    leaf masklen {2402    leaf masklen {
3640      type uint16;2403      type uint16;
3641      description2404      description
n3642        "The length of the mask";n2405        "masklen";
3643    }2406    }
3644    leaf ts-sec {2407    leaf ts-sec {
3645      type uint32;2408      type uint32;
n3646      units "second";n
3647      description2409      description
n3648        "The timestamp of the label allocationin seconds";n2410        "ts sec";
3649    }2411    }
3650    leaf ts-ssec {2412    leaf ts-ssec {
3651      type uint32;2413      type uint32;
n3652      units "second";n
3653      description2414      description
n3654        "The timestamp of the label allocationinn2415        "ts ssec";
3655         subseconds";
3656    }2416    }
3657    leaf info {2417    leaf info {
3658      type uint16;2418      type uint16;
3659      description2419      description
n3660        "The BGP edm label entry information";n2420        "info";
3661    }2421    }
3662    leaf refcount {2422    leaf refcount {
3663      type uint32;2423      type uint32;
3664      description2424      description
n3665        "The number of references updated";n2425        "refcount";
3666    }2426    }
3667    leaf inactive {2427    leaf inactive {
3668      type boolean;2428      type boolean;
3669      description2429      description
n3670        "Flag to indicate BGP edm label entryis inactive";n2430        "inactive";
3671    }2431    }
3672  }2432  }
36732433
3674  grouping BGP-LABEL-BAG {2434  grouping BGP-LABEL-BAG {
3675    description2435    description
3676      "BGP LABEL BAG";2436      "BGP LABEL BAG";
3677    container entry {2437    container entry {
3678      description2438      description
n3679        "The entry for the BGP label";n2439        "entry";
3680      uses BGP-EDM-LABEL-ENTRY;2440      uses BGP-EDM-LABEL-ENTRY;
3681    }2441    }
3682  }2442  }
36832443
3684  grouping BGP-EDM-RT-ENTRY {2444  grouping BGP-EDM-RT-ENTRY {
3685    description2445    description
3686      "BGP EDM RT ENTRY";2446      "BGP EDM RT ENTRY";
3687    leaf route-target {2447    leaf route-target {
3688      type string;2448      type string;
3689      description2449      description
n3690        "VRF Route Target value";n2450        "route target";
3691    }2451    }
3692  }2452  }
36932453
3694  grouping BGP-VRF-RT-BAG {2454  grouping BGP-VRF-RT-BAG {
3695    description2455    description
3696      "BGP VRF RT BAG";2456      "BGP VRF RT BAG";
3697    container rt {2457    container rt {
3698      description2458      description
n3699        "BGP virtual routing andforwarding route target";n2459        "rt";
3700      uses BGP-EDM-RT-ENTRY;2460      uses BGP-EDM-RT-ENTRY;
3701    }2461    }
3702    leaf afs {2462    leaf afs {
3703      type string;2463      type string;
3704      description2464      description
n3705        "Address-families of BGPvrf route target";n
3706    }
3707  }
3708 
3709  grouping BGP-EDM-VRF-DB-VRF-TBL-ENTRY {
3710    description
3711      "BGP EDM VRF DB VRF TBL ENTRY";
3712    leaf name {
3713      type string;
3714      description
3715        "name";
3716    }
3717    leaf af {
3718      type int32;
3719      description
3720        "af";2465        "afs";
3721    }
3722    leaf id {
3723      type uint32;
3724      description
3725        "id";
3726    }
3727    leaf index {
3728      type uint8;
3729      description
3730        "index";
3731    }
3732    leaf rsi-handle {
3733      type uint64;
3734      description
3735        "rsi handle";
3736    }
3737    leaf reg-pending {
3738      type boolean;
3739      description
3740        "reg pending";
3741    }
3742    leaf refcount {
3743      type uint32;
3744      description
3745        "refcount";
3746    }
3747    leaf import-policy {
3748      type string;
3749      description
3750        "import policy";
3751    }
3752    leaf export-policy {
3753      type string;
3754      description
3755        "export policy";
3756    }
3757    leaf l3-vrf-name {
3758      type string;
3759      description
3760        "l3 vrf name";
3761    }
3762    leaf bvi-ifh {
3763      type xr:Interface-name;
3764      description
3765        "bvi ifh";
3766    }
3767    leaf host-tracked {
3768      type boolean;
3769      description
3770        "host tracked";
3771    }
3772    list import-rt {
3773      description
3774        "import rt";
3775      leaf entry {
3776        type uint64;
3777        description
3778          "import rt";
3779      }
3780    }
3781    list export-rt {
3782      description
3783        "export rt";
3784      leaf entry {
3785        type uint64;
3786        description
3787          "export rt";
3788      }
3789    }
3790    list import-rt-s {
3791      description
3792        "import rt s";
3793      leaf entry {
3794        type uint64;
3795        description
3796          "import rt s";
3797      }
3798    }
3799    list export-rt-s {
3800      description
3801        "export rt s";
3802      leaf entry {
3803        type uint64;
3804        description
3805          "export rt s";
3806      }
3807    }
3808  }
3809 
3810  grouping BGP-VRF-DB-VRF-TBL-BAG {
3811    description
3812      "BGP VRF DB VRF TBL BAG";
3813    container entry {
3814      description
3815        "entry";
3816      uses BGP-EDM-VRF-DB-VRF-TBL-ENTRY;
3817    }
3818  }
3819 
3820  grouping BGP-SRV6-SID-MANAGER-BAG {
3821    description
3822      "SRv6 SID Manager information";
3823    container first-sid-mgr-connection-up-time-stamp {
3824      description
3825        "First SID Manager Connection Up time";
3826      uses BGP-TIMESPEC;
3827    }
3828    container last-sid-mgr-connection-up-time-stamp {
3829      description
3830        "Last SID Manager Connection Up time";
3831      uses BGP-TIMESPEC;
3832    }
3833    container first-sid-mgr-connection-down-time-stamp {
3834      description
3835        "First SID Manager Connection Down time";
3836      uses BGP-TIMESPEC;
3837    }
3838    container last-sid-mgr-connection-down-time-stamp {
3839      description
3840        "Last SID Manager Connection Down time";
3841      uses BGP-TIMESPEC;
3842    }
3843    leaf sid-mgr-connection-up-count {
3844      type uint32;
3845      description
3846        "Numer of SID Manager Up events";
3847    }
3848    leaf last-sid-mgr-connection-up-age {
3849      type uint32;
3850      units "second";
3851      description
3852        "Time since last SID Manager Connection Up event
3853         in seconds";
3854    }
3855    leaf sid-mgr-connection-down-count {
3856      type uint32;
3857      description
3858        "Numer of SID Manager Down events";
3859    }
3860    leaf last-sid-mgr-connection-down-age {
3861      type uint32;
3862      units "second";
3863      description
3864        "Time since last SID Manager Connection Down
3865         event in seconds";
3866    }
3867    leaf sid-mgr-alive {
3868      type boolean;
3869      description
3870        "SID Manager connection is Up";
3871    }
3872  }
3873 
3874  grouping BGP-EDM-LOCATOR-ENTRY {
3875    description
3876      "BGP EDM LOCATOR ENTRY";
3877    leaf locator-name {
3878      type string;
3879      description
3880        "The name of the BGP edmlocator";
3881    }
3882    leaf locator-id {
3883      type uint32;
3884      description
3885        "Locator Id";
3886    }
3887    leaf locator-address {
3888      type Ipv6-address;
3889      description
3890        "The address of the BGP locator";
3891    }
3892    leaf locator-address-len {
3893      type uint8;
3894      description
3895        "The length of the BGP locatoraddress";
3896    }
3897    leaf operation {
3898      type uint32;
3899      description
3900        "Locator operation";
3901    }
3902    leaf oor-state {
3903      type boolean;
3904      description
3905        "Locator OOR";
3906    }
3907    leaf locator-format {
3908      type uint32;
3909      description
3910        "Locator Format";
3911    }
3912    leaf is-locator-active {
3913      type boolean;
3914      description
3915        "Locator State";
3916    }
3917  }
3918 
3919  grouping BGP-SRV6-LOCATOR-BAG {
3920    description
3921      "SRv6 Locator information";
3922    container entry {
3923      description
3924        "The entry of the BGP srv6 locator";
3925      uses BGP-EDM-LOCATOR-ENTRY;
3926    }
3927  }
3928 
3929  grouping BGP-SRV6-SUMMARY-BAG {
3930    description
3931      "SRv6 summary information";
3932    leaf locator-count {
3933      type uint32;
3934      description
3935        "Number of locators in bgp";
3936    }
3937    leaf srv6-enabled {
3938      type boolean;
3939      description
3940        "Flag to indicate SRv6 is enabled";
3941    }
3942    leaf stale {
3943      type boolean;
3944      description
3945        "stale";
3946    }
3947    leaf update-count {
3948      type uint32;
3949      description
3950        "number of SIDMGR updates";
3951    }2466    }
3952  }2467  }
39532468
3954  grouping BGP-UPDFILTER-PROC-BAG {2469  grouping BGP-UPDFILTER-PROC-BAG {
3955    description2470    description
3956      "BGP Update filtering Process information";2471      "BGP Update filtering Process information";
3957    container last-update-filtered-timestamp {2472    container last-update-filtered-timestamp {
3958      description2473      description
3959        "Last filtered messages received time: time2474        "Last filtered messages received time: time
3960         elapsed since 00:00:00 UTC, January 1, 1970";2475         elapsed since 00:00:00 UTC, January 1, 1970";
3961      uses BGP-TIMESPEC;2476      uses BGP-TIMESPEC;
3962    }2477    }
3963    leaf update-filtered-message-count {2478    leaf update-filtered-message-count {
3964      type uint32;2479      type uint32;
3965      description2480      description
n3966        "The number of messages filtered";n2481        "Filtered messages count";
3967    }2482    }
3968    leaf update-filtered-neighbor-count {2483    leaf update-filtered-neighbor-count {
3969      type uint32;2484      type uint32;
3970      description2485      description
3971        "Count of neighbors that received filtered2486        "Count of neighbors that received filtered
3972         messages";2487         messages";
3973    }2488    }
3974    leaf last-update-filtered-age {2489    leaf last-update-filtered-age {
3975      type uint32;2490      type uint32;
3976      units "second";2491      units "second";
3977      description2492      description
3978        "Time since last filtered messages received event2493        "Time since last filtered messages received event
3979         (in seconds)";2494         (in seconds)";
3980    }2495    }
3981  }2496  }
39822497
3983  grouping BGP-NBR-MSG {2498  grouping BGP-NBR-MSG {
3984    description2499    description
3985      "Neighbor In/Out Message entry";2500      "Neighbor In/Out Message entry";
3986    container message-timestamp {2501    container message-timestamp {
3987      description2502      description
3988        "message received time: time elapsed since 00:002503        "message received time: time elapsed since 00:00
3989         :00 UTC, January 1, 1970";2504         :00 UTC, January 1, 1970";
3990      uses BGP-TIMESPEC;2505      uses BGP-TIMESPEC;
3991    }2506    }
3992    leaf message-type-received {2507    leaf message-type-received {
3993      type uint8;2508      type uint8;
3994      description2509      description
3995        "Type of messages Received";2510        "Type of messages Received";
3996    }2511    }
3997    leaf total-logged-message-count {2512    leaf total-logged-message-count {
3998      type uint32;2513      type uint32;
3999      description2514      description
n4000        "Number of total logged messages";n2515        "Total logged messages count";
4001    }2516    }
4002    leaf message-data-length {2517    leaf message-data-length {
4003      type uint16;2518      type uint16;
4004      description2519      description
n4005        "Length of the BGP message";n2520        "Message data length";
4006    }2521    }
4007    list logged-message-data {2522    list logged-message-data {
4008      description2523      description
4009        "Raw Message data in binary format";2524        "Raw Message data in binary format";
4010      leaf entry {2525      leaf entry {
4011        type uint8;2526        type uint8;
4012        description2527        description
4013          "Raw Message data in binary format";2528          "Raw Message data in binary format";
4014      }2529      }
4015    }2530    }
4016  }2531  }
40172532
4018  grouping BGP-MSGLOG-NBR-BAG {2533  grouping BGP-MSGLOG-NBR-BAG {
4019    description2534    description
4020      "BGP Message logging Neighbor information";2535      "BGP Message logging Neighbor information";
4021    list neighbor-message {2536    list neighbor-message {
4022      description2537      description
4023        "Array of Neighbor Messages in one direction";2538        "Array of Neighbor Messages in one direction";
4024      uses BGP-NBR-MSG;2539      uses BGP-NBR-MSG;
4025    }2540    }
4026  }2541  }
40272542
4028  grouping BGP-NBR-INSTANCE {2543  grouping BGP-NBR-INSTANCE {
4029    description2544    description
4030      "Dynamic Neighbor Instance";2545      "Dynamic Neighbor Instance";
4031    container neighbor-address {2546    container neighbor-address {
4032      description2547      description
4033        "Dynamic Neighbor address";2548        "Dynamic Neighbor address";
4034      uses BGP-ADDRTYPE;2549      uses BGP-ADDRTYPE;
4035    }2550    }
4036    container neighbor-age {2551    container neighbor-age {
4037      description2552      description
n4038        "Age of the BGP neighbor";n2553        "Neighbor age";
4039      uses BGP-TIMESPEC;2554      uses BGP-TIMESPEC;
4040    }2555    }
4041    container idle-watch-timer-remaining-value {2556    container idle-watch-timer-remaining-value {
4042      description2557      description
n4043        "Remaining time in idle watch timer";n2558        "Idle watch timer remaining time";
4044      uses BGP-TIMESPEC;2559      uses BGP-TIMESPEC;
4045    }2560    }
4046    leaf is-idle-watch-timer-running {2561    leaf is-idle-watch-timer-running {
4047      type boolean;2562      type boolean;
4048      description2563      description
n4049        "Flag to indicate if idle watch timer is running";n2564        "Is idle watch timer running";
4050    }2565    }
4051    leaf connection-state {2566    leaf connection-state {
4052      type Bgp-conn-state;2567      type Bgp-conn-state;
4053      description2568      description
4054        "State of connection";2569        "State of connection";
4055    }2570    }
4056  }2571  }
40572572
4058  grouping BGP-NBR-RANGE-AF {2573  grouping BGP-NBR-RANGE-AF {
4059    description2574    description
4060      "BGP neighbor address family specific information";2575      "BGP neighbor address family specific information";
4061    leaf af-name {2576    leaf af-name {
4062      type Bgp-afi;2577      type Bgp-afi;
4063      description2578      description
4064        "Address family identifier";2579        "Address family identifier";
4065    }2580    }
4066    leaf is-neighbor-route-reflector-client {2581    leaf is-neighbor-route-reflector-client {
4067      type boolean;2582      type boolean;
4068      description2583      description
4069        "Nbr is a route reflector client";2584        "Nbr is a route reflector client";
4070    }2585    }
4071    leaf is-legacy-pe-rt {2586    leaf is-legacy-pe-rt {
4072      type boolean;2587      type boolean;
4073      description2588      description
4074        "Nbr accepts route from legacy PE for2589        "Nbr accepts route from legacy PE for
4075         RT-Constraint AF ";2590         RT-Constraint AF ";
4076    }2591    }
4077    leaf is-neighbor-af-capable {2592    leaf is-neighbor-af-capable {
4078      type boolean;2593      type boolean;
4079      description2594      description
4080        "Address family capability received from neighbor";2595        "Address family capability received from neighbor";
4081    }2596    }
4082    leaf is-soft-reconfiguration-inbound-allowed {2597    leaf is-soft-reconfiguration-inbound-allowed {
4083      type boolean;2598      type boolean;
4084      description2599      description
4085        "Inbound soft reconfiguration allowed";2600        "Inbound soft reconfiguration allowed";
4086    }2601    }
4087    leaf is-use-soft-reconfiguration-always-on {2602    leaf is-use-soft-reconfiguration-always-on {
4088      type boolean;2603      type boolean;
4089      description2604      description
4090        "Soft reconf overrides route refresh";2605        "Soft reconf overrides route refresh";
4091    }2606    }
4092    leaf remove-private-as-from-updates {2607    leaf remove-private-as-from-updates {
4093      type boolean;2608      type boolean;
4094      description2609      description
4095        "Private AS numbers removed from updates to this2610        "Private AS numbers removed from updates to this
4096         nbr";2611         nbr";
4097    }2612    }
4098    leaf remove-private-as-entire-aspath-from-updates {2613    leaf remove-private-as-entire-aspath-from-updates {
4099      type boolean;2614      type boolean;
4100      description2615      description
4101        "Private AS numbers removed from updates to2616        "Private AS numbers removed from updates to
4102         thisnbr only if the aspath hasonly private ASes";2617         thisnbr only if the aspath hasonly private ASes";
4103    }2618    }
4104    leaf remove-private-as-from-inbound-updates {2619    leaf remove-private-as-from-inbound-updates {
4105      type boolean;2620      type boolean;
4106      description2621      description
4107        "Private AS numbers removed from updates from2622        "Private AS numbers removed from updates from
4108         this nbr";2623         this nbr";
4109    }2624    }
4110    leaf remove-private-as-entire-aspath-from-inbound-updates {2625    leaf remove-private-as-entire-aspath-from-inbound-updates {
4111      type boolean;2626      type boolean;
4112      description2627      description
4113        "Private AS numbers removed from updates from2628        "Private AS numbers removed from updates from
4114         this nbr only if the aspath has only private2629         this nbr only if the aspath has only private
4115         ASes";2630         ASes";
4116    }2631    }
4117    leaf flowspec-validation-d-isable {2632    leaf flowspec-validation-d-isable {
4118      type boolean;2633      type boolean;
4119      description2634      description
n4120        "Flag to indicate if flowspec validation isn2635        "Flowspec Validation Disabled";
4121         disabled";
4122    }2636    }
4123    leaf flowspec-redirect-validation-d-isable {2637    leaf flowspec-redirect-validation-d-isable {
4124      type boolean;2638      type boolean;
4125      description2639      description
n4126        "Flag to indicate if flowspec redirect validationn2640        "Flowspec Redirect Validation Disabled";
4127         is disabled";
4128    }2641    }
4129    leaf orr-group-name {2642    leaf orr-group-name {
4130      type string;2643      type string;
4131      description2644      description
4132        "ORR Group Name";2645        "ORR Group Name";
4133    }2646    }
4134    leaf orr-group-index {2647    leaf orr-group-index {
4135      type uint32;2648      type uint32;
4136      description2649      description
4137        "ORR Group Index";2650        "ORR Group Index";
4138    }2651    }
4139    leaf is-orr-root-address-configured {2652    leaf is-orr-root-address-configured {
4140      type boolean;2653      type boolean;
4141      description2654      description
4142        "ORR Root address configuredfor the neighbor2655        "ORR Root address configuredfor the neighbor
4143         connection";2656         connection";
4144    }2657    }
4145    leaf advertise-afi {2658    leaf advertise-afi {
4146      type boolean;2659      type boolean;
4147      description2660      description
4148        "Encode in Advertise AFI";2661        "Encode in Advertise AFI";
4149    }2662    }
4150    leaf advertise-afi-reorg {2663    leaf advertise-afi-reorg {
4151      type boolean;2664      type boolean;
4152      description2665      description
4153        "Encode in Advertise AFI";2666        "Encode in Advertise AFI";
4154    }2667    }
4155    leaf advertise-afi-local {2668    leaf advertise-afi-local {
4156      type boolean;2669      type boolean;
4157      description2670      description
4158        "Encode in Advertise AFI";2671        "Encode in Advertise AFI";
4159    }2672    }
4160    leaf advertise-afi-disable {2673    leaf advertise-afi-disable {
4161      type boolean;2674      type boolean;
4162      description2675      description
4163        "Encode in Advertise AFI";2676        "Encode in Advertise AFI";
4164    }2677    }
4165    leaf always-use-next-hop-local {2678    leaf always-use-next-hop-local {
4166      type boolean;2679      type boolean;
4167      description2680      description
4168        "Local router always used for next-hop";2681        "Local router always used for next-hop";
4169    }2682    }
4170    leaf next-hop-unchanged {2683    leaf next-hop-unchanged {
4171      type boolean;2684      type boolean;
4172      description2685      description
4173        "router does not change next-hop";2686        "router does not change next-hop";
4174    }2687    }
4175    leaf sent-community-to-neighbor {2688    leaf sent-community-to-neighbor {
4176      type boolean;2689      type boolean;
4177      description2690      description
4178        "Community attribute sent to neighbor";2691        "Community attribute sent to neighbor";
4179    }2692    }
4180    leaf sent-gshut-community-to-neighbor {2693    leaf sent-gshut-community-to-neighbor {
4181      type boolean;2694      type boolean;
4182      description2695      description
4183        "GSHUT Community attribute sent to neighbor";2696        "GSHUT Community attribute sent to neighbor";
4184    }2697    }
4185    leaf sent-extended-community-to-neighbor {2698    leaf sent-extended-community-to-neighbor {
4186      type boolean;2699      type boolean;
4187      description2700      description
4188        "Extended community attribute sent to neighbor";2701        "Extended community attribute sent to neighbor";
4189    }2702    }
4190    leaf neighbor-default-originate {2703    leaf neighbor-default-originate {
4191      type boolean;2704      type boolean;
4192      description2705      description
4193        "Neighbor originates default";2706        "Neighbor originates default";
4194    }2707    }
4195    leaf is-orf-sent {2708    leaf is-orf-sent {
4196      type boolean;2709      type boolean;
4197      description2710      description
4198        "Outbound route filter sent to neighbor";2711        "Outbound route filter sent to neighbor";
4199    }2712    }
4200    leaf is-update-deferred {2713    leaf is-update-deferred {
4201      type boolean;2714      type boolean;
4202      description2715      description
4203        "Update deferred until ORF/route refresh received";2716        "Update deferred until ORF/route refresh received";
4204    }2717    }
4205    leaf is-orf-send-scheduled {2718    leaf is-orf-send-scheduled {
4206      type boolean;2719      type boolean;
4207      description2720      description
4208        "Scheduled to send prefix based ORF";2721        "Scheduled to send prefix based ORF";
4209    }2722    }
4210    leaf vpn-update-gen-enabled {2723    leaf vpn-update-gen-enabled {
4211      type boolean;2724      type boolean;
4212      description2725      description
4213        "RT Nbr enabled for updategento another";2726        "RT Nbr enabled for updategento another";
4214    }2727    }
4215    leaf vpn-update-gen-trigger-enabled {2728    leaf vpn-update-gen-trigger-enabled {
4216      type boolean;2729      type boolean;
4217      description2730      description
4218        "RT Nbr enabled for updategento another";2731        "RT Nbr enabled for updategento another";
4219    }2732    }
4220    leaf is-addpath-send-operational {2733    leaf is-addpath-send-operational {
4221      type boolean;2734      type boolean;
4222      description2735      description
4223        "Addpath is operational on send-side";2736        "Addpath is operational on send-side";
4224    }2737    }
4225    leaf is-addpath-receive-operational {2738    leaf is-addpath-receive-operational {
4226      type boolean;2739      type boolean;
4227      description2740      description
4228        "Addpath is operational on receive-side";2741        "Addpath is operational on receive-side";
4229    }2742    }
4230    leaf weight {2743    leaf weight {
4231      type uint32;2744      type uint32;
4232      description2745      description
4233        "Weight for this AF";2746        "Weight for this AF";
4234    }2747    }
4235    leaf max-prefix-limit {2748    leaf max-prefix-limit {
4236      type uint32;2749      type uint32;
4237      description2750      description
4238        "Max limit for # of prefixes";2751        "Max limit for # of prefixes";
4239    }2752    }
4240    leaf use-max-prefix-warning-only {2753    leaf use-max-prefix-warning-only {
4241      type boolean;2754      type boolean;
4242      description2755      description
4243        "Warning only when maximum prefix limit reached";2756        "Warning only when maximum prefix limit reached";
4244    }2757    }
4245    leaf max-prefix-discard-extra-paths {2758    leaf max-prefix-discard-extra-paths {
4246      type boolean;2759      type boolean;
4247      description2760      description
4248        "Discard extra paths when prefix limit reached";2761        "Discard extra paths when prefix limit reached";
4249    }2762    }
4250    leaf max-prefix-exceed-discard-paths {2763    leaf max-prefix-exceed-discard-paths {
4251      type boolean;2764      type boolean;
4252      description2765      description
4253        "Did we discard extra paths when prefix limit2766        "Did we discard extra paths when prefix limit
4254         reached";2767         reached";
4255    }2768    }
4256    leaf max-prefix-threshold-percent {2769    leaf max-prefix-threshold-percent {
4257      type uint8;2770      type uint8;
4258      units "percentage";2771      units "percentage";
4259      description2772      description
4260        "Percentage of maximum no. of prefixes at which2773        "Percentage of maximum no. of prefixes at which
4261         to generate warning";2774         to generate warning";
4262    }2775    }
n4263    leaf max-prefix-discard-paths-count {n
4264      type uint32;
4265      description
4266        "Number of discarded paths after prefix limit
4267         reached";
4268    }
4269    leaf max-prefix-restart-time {2776    leaf max-prefix-restart-time {
4270      type uint16;2777      type uint16;
4271      units "minute";2778      units "minute";
4272      description2779      description
4273        "Time interval (in minutes) after which peering2780        "Time interval (in minutes) after which peering
4274         session will be reestablished";2781         session will be reestablished";
4275    }2782    }
4276    leaf is-peer-orf-capable {2783    leaf is-peer-orf-capable {
4277      type boolean;2784      type boolean;
4278      description2785      description
4279        "Peer has outbound route filter capability";2786        "Peer has outbound route filter capability";
4280    }2787    }
4281    leaf is-advertised-orf-send {2788    leaf is-advertised-orf-send {
4282      type boolean;2789      type boolean;
4283      description2790      description
4284        "Prefix based ORF send mode capability advertised";2791        "Prefix based ORF send mode capability advertised";
4285    }2792    }
4286    leaf is-received-orf-send-capable {2793    leaf is-received-orf-send-capable {
4287      type boolean;2794      type boolean;
4288      description2795      description
4289        "Prefix based ORF send mode capability received";2796        "Prefix based ORF send mode capability received";
4290    }2797    }
4291    leaf is-advertised-orf-receive {2798    leaf is-advertised-orf-receive {
4292      type boolean;2799      type boolean;
4293      description2800      description
4294        "Prefix based ORF receive mode capability2801        "Prefix based ORF receive mode capability
4295         advertised";2802         advertised";
4296    }2803    }
4297    leaf is-received-orf-receive-capable {2804    leaf is-received-orf-receive-capable {
4298      type boolean;2805      type boolean;
4299      description2806      description
4300        "Prefix based ORF receive mode capability2807        "Prefix based ORF receive mode capability
4301         received";2808         received";
4302    }2809    }
4303    leaf is-advertised-graceful-restart {2810    leaf is-advertised-graceful-restart {
4304      type boolean;2811      type boolean;
4305      description2812      description
4306        "Graceful Restart Capability advertised";2813        "Graceful Restart Capability advertised";
4307    }2814    }
4308    leaf is-graceful-restart-state-flag {2815    leaf is-graceful-restart-state-flag {
4309      type boolean;2816      type boolean;
4310      description2817      description
4311        "Restart state flag enabled";2818        "Restart state flag enabled";
4312    }2819    }
4313    leaf is-received-graceful-restart-capable {2820    leaf is-received-graceful-restart-capable {
4314      type boolean;2821      type boolean;
4315      description2822      description
4316        "Graceful Restart Capability received";2823        "Graceful Restart Capability received";
4317    }2824    }
4318    leaf is-add-path-send-capability-advertised {2825    leaf is-add-path-send-capability-advertised {
4319      type boolean;2826      type boolean;
4320      description2827      description
n4321        "Flag to indicate if addpath send capability isn2828        "Addpath Send capability advertised";
4322         advertised";
4323    }2829    }
4324    leaf is-add-path-send-capability-received {2830    leaf is-add-path-send-capability-received {
4325      type boolean;2831      type boolean;
4326      description2832      description
n4327        "Flag to indicate if addpath send capability isn2833        "Addpath Send capability received";
4328         received";
4329    }2834    }
4330    leaf is-add-path-receive-capability-advertised {2835    leaf is-add-path-receive-capability-advertised {
4331      type boolean;2836      type boolean;
4332      description2837      description
n4333        "Flag to indicate whetheraddpath receiven
4334         capabilityadvertised";2838        "Addpath Receive capability advertised";
4335    }2839    }
4336    leaf is-add-path-receive-capability-received {2840    leaf is-add-path-receive-capability-received {
4337      type boolean;2841      type boolean;
4338      description2842      description
n4339        "Flag to indicate whether addpathreceiven
4340         capability received";2843        "Addpath Receive capability received";
4341    }2844    }
4342    leaf restart-time {2845    leaf restart-time {
4343      type uint32;2846      type uint32;
4344      units "second";2847      units "second";
4345      description2848      description
4346        "Restart time advertised (seconds)";2849        "Restart time advertised (seconds)";
4347    }2850    }
4348    leaf local-restart-time {2851    leaf local-restart-time {
4349      type uint32;2852      type uint32;
4350      units "second";2853      units "second";
4351      description2854      description
4352        "Local Restart time (seconds)";2855        "Local Restart time (seconds)";
4353    }2856    }
4354    leaf stale-path-timeout {2857    leaf stale-path-timeout {
4355      type uint32;2858      type uint32;
4356      units "second";2859      units "second";
4357      description2860      description
4358        "Stale path timeout time (in seconds)";2861        "Stale path timeout time (in seconds)";
4359    }2862    }
4360    leaf rib-purge-timeout-value {2863    leaf rib-purge-timeout-value {
4361      type uint32;2864      type uint32;
4362      units "second";2865      units "second";
4363      description2866      description
4364        "RIB purge timeout time (in seconds)";2867        "RIB purge timeout time (in seconds)";
4365    }2868    }
4366    leaf neighbor-preserved-forwarding-state {2869    leaf neighbor-preserved-forwarding-state {
4367      type boolean;2870      type boolean;
4368      description2871      description
n4369        "Flag to indicate if BGP neighbor is preserved inn2872        "Neighbor preserved forwarding state";
4370         forwarding state";
4371    }2873    }
4372    leaf long-lived-graceful-restart-stale-time-configured {2874    leaf long-lived-graceful-restart-stale-time-configured {
4373      type boolean;2875      type boolean;
4374      description2876      description
n4375        "Flag to indicate whether long-livedn
4376         graceful-restart stale time is configured";2877        "Long-lived graceful-restart stale time is
4377    }
4378    leaf retention-stale-time-configured {
4379      type boolean;
4380      description
4381        "Flag to indicate whether Retention stale time is
4382         configured";2878         configured";
n4383    }n
4384    leaf retention-policy {
4385      type string;
4386      description
4387        "Retention Policy";
4388    }
4389    leaf retention-stale-time {
4390      type uint32;
4391      description
4392        "Stale time Configured for Route Retention";
4393    }2879    }
4394    leaf long-lived-graceful-restart-stale-time-sent {2880    leaf long-lived-graceful-restart-stale-time-sent {
4395      type uint32;2881      type uint32;
4396      units "second";2882      units "second";
4397      description2883      description
4398        "Stale time sent in long-lived graceful-restart2884        "Stale time sent in long-lived graceful-restart
4399         capability (seconds)";2885         capability (seconds)";
4400    }2886    }
4401    leaf long-lived-graceful-restart-stale-time-accept {2887    leaf long-lived-graceful-restart-stale-time-accept {
4402      type uint32;2888      type uint32;
4403      units "second";2889      units "second";
4404      description2890      description
4405        "Maximum long-lived graceful-restart stale time2891        "Maximum long-lived graceful-restart stale time
4406         acceptable from the neighbor (seconds)";2892         acceptable from the neighbor (seconds)";
4407    }2893    }
4408    leaf long-lived-graceful-restart-capability-received {2894    leaf long-lived-graceful-restart-capability-received {
4409      type boolean;2895      type boolean;
4410      description2896      description
n4411        "Flag to indicate whether long-livedgracefuln2897        "Long-lived graceful-restart capability received
4412         restart capability received from the neighbor";2898         from the neighbor";
4413    }2899    }
4414    leaf long-lived-graceful-restart-stale-time-received {2900    leaf long-lived-graceful-restart-stale-time-received {
4415      type uint32;2901      type uint32;
4416      units "second";2902      units "second";
4417      description2903      description
4418        "Long-lived graceful-restart stale time received2904        "Long-lived graceful-restart stale time received
4419         from the neighbor (seconds)";2905         from the neighbor (seconds)";
4420    }2906    }
4421    leaf neighbor-preserved-long-lived-forwarding-state {2907    leaf neighbor-preserved-long-lived-forwarding-state {
4422      type boolean;2908      type boolean;
4423      description2909      description
n4424        "Flag to indicate whether neighbor preservedn
4425         long-lived forwarding state";2910        "Neighbor preserved long-lived forwarding state";
4426    }2911    }
4427    leaf neighbor-long-lived-graceful-restart-capable {2912    leaf neighbor-long-lived-graceful-restart-capable {
4428      type boolean;2913      type boolean;
4429      description2914      description
n4430        "Flag to indicate whether treat neighbor asn2915        "Treat neighbor as long-lived graceful-restart
4431         long-lived graceful-restart capable";2916         capable";
4432    }2917    }
4433    leaf neighbor-long-lived-graceful-restart-time-remaining {2918    leaf neighbor-long-lived-graceful-restart-time-remaining {
4434      type uint32;2919      type uint32;
4435      description2920      description
4436        "Remaining long-lived graceful-restart time";2921        "Remaining long-lived graceful-restart time";
4437    }2922    }
4438    leaf is-prefix-orf-present {2923    leaf is-prefix-orf-present {
4439      type boolean;2924      type boolean;
4440      description2925      description
4441        "Outbound route filter prefix ORF present";2926        "Outbound route filter prefix ORF present";
4442    }2927    }
4443    leaf orf-entries-received {2928    leaf orf-entries-received {
4444      type uint32;2929      type uint32;
4445      description2930      description
4446        "Number of outbound route filter entries received";2931        "Number of outbound route filter entries received";
4447    }2932    }
4448    leaf route-policy-prefix-orf {2933    leaf route-policy-prefix-orf {
4449      type string;2934      type string;
4450      description2935      description
4451        "Prefix based ORF for incoming updates";2936        "Prefix based ORF for incoming updates";
4452    }2937    }
4453    leaf route-policy-in {2938    leaf route-policy-in {
4454      type string;2939      type string;
4455      description2940      description
4456        "Incoming route policy name";2941        "Incoming route policy name";
4457    }2942    }
4458    leaf route-policy-out {2943    leaf route-policy-out {
4459      type string;2944      type string;
4460      description2945      description
4461        "Outgoing route policy name";2946        "Outgoing route policy name";
4462    }2947    }
4463    leaf route-policy-default-originate {2948    leaf route-policy-default-originate {
4464      type string;2949      type string;
4465      description2950      description
4466        "Default-originate route policy name";2951        "Default-originate route policy name";
4467    }2952    }
4468    leaf is-neighbor-ebgp-without-inbound-policy {2953    leaf is-neighbor-ebgp-without-inbound-policy {
4469      type boolean;2954      type boolean;
4470      description2955      description
4471        "eBGP neighbor with no configured inbound policy";2956        "eBGP neighbor with no configured inbound policy";
4472    }2957    }
4473    leaf is-neighbor-ebgp-without-outbound-policy {2958    leaf is-neighbor-ebgp-without-outbound-policy {
4474      type boolean;2959      type boolean;
4475      description2960      description
4476        "eBGP neighbor with no configured outbound policy";2961        "eBGP neighbor with no configured outbound policy";
4477    }2962    }
4478    leaf is-upd-orig-loopchk-disable-set {2963    leaf is-upd-orig-loopchk-disable-set {
4479      type boolean;2964      type boolean;
4480      description2965      description
n4481        "Flag to indicate for update out originatorn2966        "upd_orig_loopchk_disable set ";
4482         loopcheck disable is set";
4483    }2967    }
4484    leaf is-as-override-set {2968    leaf is-as-override-set {
4485      type boolean;2969      type boolean;
4486      description2970      description
n4487        "Flag to indicate if As-override is set";n2971        "As override set ";
4488    }2972    }
4489    leaf is-allow-as-in-set {2973    leaf is-allow-as-in-set {
4490      type boolean;2974      type boolean;
4491      description2975      description
4492        "Allowas-in set ";2976        "Allowas-in set ";
4493    }2977    }
4494    leaf allow-as-in-count {2978    leaf allow-as-in-count {
4495      type uint32;2979      type uint32;
4496      description2980      description
4497        "Allowas-in count config";2981        "Allowas-in count config";
4498    }2982    }
n4499    leaf is-allow-confed-as-in-set {n
4500      type boolean;
4501      description
4502        "Allowconfedas-in set ";
4503    }
4504    leaf allow-confed-as-in-count {
4505      type uint32;
4506      description
4507        "Allowconfedas-in count config";
4508    }
4509    leaf address-family-long-lived-time {2983    leaf address-family-long-lived-time {
4510      type uint32;2984      type uint32;
4511      description2985      description
4512        "AF specific Long-lived-time config";2986        "AF specific Long-lived-time config";
4513    }2987    }
4514    leaf is-aigp-set {2988    leaf is-aigp-set {
4515      type boolean;2989      type boolean;
4516      description2990      description
4517        "AIGP set ";2991        "AIGP set ";
4518    }2992    }
4519    leaf is-rt-present {2993    leaf is-rt-present {
4520      type boolean;2994      type boolean;
4521      description2995      description
4522        "RT attribute list present";2996        "RT attribute list present";
4523    }2997    }
4524    leaf is-rt-present-standby {2998    leaf is-rt-present-standby {
4525      type boolean;2999      type boolean;
4526      description3000      description
4527        "RT attribute list present";3001        "RT attribute list present";
4528    }3002    }
4529    leaf accept-own-enabled {3003    leaf accept-own-enabled {
4530      type boolean;3004      type boolean;
4531      description3005      description
n4532        "Flag to indicate if accept-Own is enabled";n3006        "Accept-Own enabled";
4533    }3007    }
4534    leaf selective-multipath-eligible {3008    leaf selective-multipath-eligible {
4535      type boolean;3009      type boolean;
4536      description3010      description
n4537        "Flag to indicate if selective multipath isn3011        "Selective multipath eligible";
4538         eligible";
4539    }3012    }
4540    leaf afrpki-disable {3013    leaf afrpki-disable {
4541      type boolean;3014      type boolean;
4542      description3015      description
4543        "Prefix validation disabled";3016        "Prefix validation disabled";
4544    }3017    }
4545    leaf afrpki-use-validity {3018    leaf afrpki-use-validity {
4546      type boolean;3019      type boolean;
4547      description3020      description
4548        "Prefix v. use validity";3021        "Prefix v. use validity";
4549    }3022    }
4550    leaf afrpki-allow-invalid {3023    leaf afrpki-allow-invalid {
4551      type boolean;3024      type boolean;
4552      description3025      description
4553        "Prefix v. allow invalid";3026        "Prefix v. allow invalid";
4554    }3027    }
4555    leaf afrpki-signal-ibgp {3028    leaf afrpki-signal-ibgp {
4556      type boolean;3029      type boolean;
4557      description3030      description
4558        "Prefix v. signal ibgp";3031        "Prefix v. signal ibgp";
4559    }3032    }
4560    leaf is-advertise-permanent-network {3033    leaf is-advertise-permanent-network {
4561      type boolean;3034      type boolean;
4562      description3035      description
n4563        "Flag to indicate if advertise permanent networkn3036        "Advertise Permanent Network";
4564         is enabled";
4565    }3037    }
4566    leaf is-send-mcast-attr {3038    leaf is-send-mcast-attr {
4567      type boolean;3039      type boolean;
4568      description3040      description
4569        "Send Mcast Attr";3041        "Send Mcast Attr";
4570    }3042    }
4571    leaf import-stitching {3043    leaf import-stitching {
4572      type boolean;3044      type boolean;
4573      description3045      description
4574        "Import Stitching enabled";3046        "Import Stitching enabled";
4575    }3047    }
4576    leaf import-reoriginate {3048    leaf import-reoriginate {
4577      type boolean;3049      type boolean;
4578      description3050      description
4579        "Import Reoriginate enabled";3051        "Import Reoriginate enabled";
4580    }3052    }
4581    leaf import-reoriginate-stitching {3053    leaf import-reoriginate-stitching {
4582      type boolean;3054      type boolean;
4583      description3055      description
4584        "Import Reoriginate Stitching enabled";3056        "Import Reoriginate Stitching enabled";
4585    }3057    }
4586    leaf advertise-v4-flags {3058    leaf advertise-v4-flags {
4587      type uint32;3059      type uint32;
4588      description3060      description
4589        "Advertise options for VPNV4";3061        "Advertise options for VPNV4";
4590    }3062    }
4591    leaf advertise-v6-flags {3063    leaf advertise-v6-flags {
4592      type uint32;3064      type uint32;
4593      description3065      description
4594        "Advertise options for VPNV6";3066        "Advertise options for VPNV6";
4595    }3067    }
4596    leaf enable-label-stack {3068    leaf enable-label-stack {
4597      type boolean;3069      type boolean;
4598      description3070      description
n4599        "Flag to indicate if label stack is enabled";n3071        "Enable label stack";
4600    }3072    }
4601    list extended-community {3073    list extended-community {
4602      description3074      description
4603        "Extended community attribute";3075        "Extended community attribute";
4604      leaf entry {3076      leaf entry {
4605        type uint8;3077        type uint8;
4606        description3078        description
4607          "Extended community attribute";3079          "Extended community attribute";
4608      }3080      }
4609    }3081    }
4610    list extended-community-standby {3082    list extended-community-standby {
4611      description3083      description
4612        "Extended community attribute";3084        "Extended community attribute";
4613      leaf entry {3085      leaf entry {
4614        type uint8;3086        type uint8;
4615        description3087        description
4616          "Extended community attribute";3088          "Extended community attribute";
4617      }3089      }
4618    }3090    }
4619  }3091  }
46203092
4621  grouping BGP-NBR-RANGE-BAG {3093  grouping BGP-NBR-RANGE-BAG {
4622    description3094    description
4623      "BGP Neighbor Range Information";3095      "BGP Neighbor Range Information";
4624    container connection-local-address {3096    container connection-local-address {
4625      description3097      description
4626        "Local address for the connection";3098        "Local address for the connection";
4627      uses BGP-ADDRTYPE;3099      uses BGP-ADDRTYPE;
4628    }3100    }
4629    container connection-remote-address {3101    container connection-remote-address {
4630      description3102      description
4631        "Remote address for the connection";3103        "Remote address for the connection";
4632      uses BGP-ADDRTYPE;3104      uses BGP-ADDRTYPE;
4633    }3105    }
4634    container graceful-maintenance {3106    container graceful-maintenance {
4635      description3107      description
n4636        "BGP connection of graceful shutdown";n3108        "Graceful Maintenance";
4637      uses BGP-NBR-GSHUT;3109      uses BGP-NBR-GSHUT;
4638    }3110    }
4639    container cfg-local-address {3111    container cfg-local-address {
4640      description3112      description
4641        "Configured local address";3113        "Configured local address";
4642      uses BGP-ADDRTYPE;3114      uses BGP-ADDRTYPE;
4643    }3115    }
4644    container local-address-subnet {3116    container local-address-subnet {
4645      description3117      description
n4646        "Subnet for the BGP local address";n3118        "local address subnet address";
4647      uses BGP-ADDRTYPE;3119      uses BGP-ADDRTYPE;
4648    }3120    }
4649    leaf speaker-id {3121    leaf speaker-id {
4650      type uint8;3122      type uint8;
4651      description3123      description
4652        "Speaker this neighbor is allocated to";3124        "Speaker this neighbor is allocated to";
4653    }3125    }
4654    leaf description {3126    leaf description {
4655      type string;3127      type string;
4656      description3128      description
n4657        "Description of the BGP neighbor";n3129        "Description";
4658    }3130    }
4659    leaf local-as {3131    leaf local-as {
4660      type uint32;3132      type uint32;
4661      description3133      description
4662        "Local AS number";3134        "Local AS number";
4663    }3135    }
4664    leaf remote-as {3136    leaf remote-as {
4665      type uint32;3137      type uint32;
4666      description3138      description
4667        "Remote AS number";3139        "Remote AS number";
4668    }3140    }
4669    leaf has-internal-link {3141    leaf has-internal-link {
4670      type boolean;3142      type boolean;
4671      description3143      description
4672        "Internal link to neighbor";3144        "Internal link to neighbor";
4673    }3145    }
4674    leaf is-local-address-configured {3146    leaf is-local-address-configured {
4675      type boolean;3147      type boolean;
4676      description3148      description
4677        "Local address configured for the neighbor3149        "Local address configured for the neighbor
4678         connection";3150         connection";
4679    }3151    }
4680    leaf neighbor-range-prefix-length {3152    leaf neighbor-range-prefix-length {
4681      type uint8;3153      type uint8;
4682      description3154      description
n4683        "Length of the BGP neighbor prefix";n3155        "Neighbor Range Prefix Length";
4684    }3156    }
4685    leaf is-administratively-shut-down {3157    leaf is-administratively-shut-down {
4686      type boolean;3158      type boolean;
4687      description3159      description
n4688        "Flag to indicate if neighbor is administrativelyn3160        "Neighbor is administratively shut down";
4689         shutdown";
4690    }3161    }
4691    leaf is-neighbor-max-prefix-shutdown {3162    leaf is-neighbor-max-prefix-shutdown {
4692      type boolean;3163      type boolean;
4693      description3164      description
4694        "Neighbor shut down because it exceeded max prfx3165        "Neighbor shut down because it exceeded max prfx
4695         count";3166         count";
4696    }3167    }
4697    leaf is-out-of-memory-forced-up {3168    leaf is-out-of-memory-forced-up {
4698      type boolean;3169      type boolean;
4699      description3170      description
4700        "Neighbor forced up during a low memory condition";3171        "Neighbor forced up during a low memory condition";
4701    }3172    }
4702    leaf ttl-security-enabled {3173    leaf ttl-security-enabled {
4703      type boolean;3174      type boolean;
4704      description3175      description
4705        "TTL Security enabled";3176        "TTL Security enabled";
4706    }3177    }
4707    leaf suppress4-byte-as {3178    leaf suppress4-byte-as {
4708      type boolean;3179      type boolean;
4709      description3180      description
4710        "Suppress 4byteas capability";3181        "Suppress 4byteas capability";
4711    }3182    }
4712    leaf bfd-session-enable-mode {3183    leaf bfd-session-enable-mode {
4713      type Bgp-bfd-enable-mode;3184      type Bgp-bfd-enable-mode;
4714      description3185      description
4715        "BFD enable mode for this peer";3186        "BFD enable mode for this peer";
4716    }3187    }
4717    leaf bfd-minintervalval {3188    leaf bfd-minintervalval {
4718      type uint32;3189      type uint32;
4719      description3190      description
4720        "BFD Mininterval for this peer";3191        "BFD Mininterval for this peer";
4721    }3192    }
4722    leaf bfd-multiplierval {3193    leaf bfd-multiplierval {
4723      type uint32;3194      type uint32;
4724      description3195      description
4725        "BFD Multiplier for this peer";3196        "BFD Multiplier for this peer";
4726    }3197    }
4727    leaf ebgp-time-to-live {3198    leaf ebgp-time-to-live {
4728      type uint32;3199      type uint32;
4729      description3200      description
4730        "Maximum number of hops for external BGP neighbor";3201        "Maximum number of hops for external BGP neighbor";
4731    }3202    }
4732    leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {3203    leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
4733      type boolean;3204      type boolean;
4734      description3205      description
4735        "If true, MPLS and NULL rewrite is disabled; if3206        "If true, MPLS and NULL rewrite is disabled; if
4736         false, it is enabled";3207         false, it is enabled";
4737    }3208    }
4738    leaf tcpmss {3209    leaf tcpmss {
4739      type uint32;3210      type uint32;
4740      description3211      description
n4741        "Neighbor TCP Maximum Segment size";n3212        "Neighbor TCP Maximum Segment
4742    }3213         size";
4743    leaf tcpmtu {
4744      type boolean;
4745      description
4746        "Neighbor TCP Path MTU Discovery option";
4747    }3214    }
4748    leaf msg-log-in {3215    leaf msg-log-in {
4749      type uint32;3216      type uint32;
4750      description3217      description
4751        "Message in log count";3218        "Message in log count";
4752    }3219    }
4753    leaf msg-log-out {3220    leaf msg-log-out {
4754      type uint32;3221      type uint32;
4755      description3222      description
4756        "Message out log count";3223        "Message out log count";
4757    }3224    }
4758    leaf neighbor-local-as {3225    leaf neighbor-local-as {
4759      type uint32;3226      type uint32;
4760      description3227      description
4761        "Local AS configured on the neighbor";3228        "Local AS configured on the neighbor";
4762    }3229    }
4763    leaf local-as-no-prepend {3230    leaf local-as-no-prepend {
4764      type boolean;3231      type boolean;
4765      description3232      description
4766        "Option to not prepend the Local AS to3233        "Option to not prepend the Local AS to
4767         announcements";3234         announcements";
4768    }3235    }
4769    leaf merge-inbound-safi1and4-updates {3236    leaf merge-inbound-safi1and4-updates {
4770      type boolean;3237      type boolean;
4771      description3238      description
4772        "Merge SAFI-1 and SAFI-4 updates from neighbor";3239        "Merge SAFI-1 and SAFI-4 updates from neighbor";
4773    }3240    }
4774    leaf is-capability-negotiation-performed {3241    leaf is-capability-negotiation-performed {
4775      type boolean;3242      type boolean;
4776      description3243      description
n4777        "Flag to indicate if BGP neighbor capabilityn
4778         negotiation is performed";3244        "Capability negotiation performed";
4779    }3245    }
4780    leaf configured-hold-time {3246    leaf configured-hold-time {
4781      type uint16;3247      type uint16;
4782      units "second";3248      units "second";
4783      description3249      description
4784        "Hold time (in secs) configured for this3250        "Hold time (in secs) configured for this
4785         connection";3251         connection";
4786    }3252    }
4787    leaf configured-keepalive {3253    leaf configured-keepalive {
4788      type uint16;3254      type uint16;
4789      units "second";3255      units "second";
4790      description3256      description
4791        "Keepalive time (in secs) configured for this3257        "Keepalive time (in secs) configured for this
4792         connection";3258         connection";
4793    }3259    }
4794    leaf configured-min-acc-hold-time {3260    leaf configured-min-acc-hold-time {
4795      type uint16;3261      type uint16;
4796      units "second";3262      units "second";
4797      description3263      description
4798        "Minimum acceptable hold time from neighbor (in3264        "Minimum acceptable hold time from neighbor (in
4799         secs) configured for this connection";3265         secs) configured for this connection";
4800    }3266    }
4801    leaf min-advertise-interval {3267    leaf min-advertise-interval {
4802      type uint32;3268      type uint32;
4803      units "second";3269      units "second";
4804      description3270      description
4805        "Minimum advertisement interval, secs part";3271        "Minimum advertisement interval, secs part";
4806    }3272    }
4807    leaf min-advertise-interval-msecs {3273    leaf min-advertise-interval-msecs {
4808      type uint32;3274      type uint32;
4809      units "millisecond";3275      units "millisecond";
4810      description3276      description
4811        "Minimum advertisement interval, msecs part";3277        "Minimum advertisement interval, msecs part";
4812    }3278    }
4813    leaf min-origination-interval {3279    leaf min-origination-interval {
4814      type uint16;3280      type uint16;
4815      units "second";3281      units "second";
4816      description3282      description
4817        "Minimum origination interval (in secs)";3283        "Minimum origination interval (in secs)";
4818    }3284    }
4819    leaf remote-as-number {3285    leaf remote-as-number {
4820      type uint32;3286      type uint32;
4821      description3287      description
n4822        "AS number of the neighbor";n3288        "Remote AS number";
4823    }3289    }
4824    leaf dmz-link-bandwidth {3290    leaf dmz-link-bandwidth {
4825      type uint32;3291      type uint32;
4826      description3292      description
4827        "Bandwidth of link to single-hop eBGP peer";3293        "Bandwidth of link to single-hop eBGP peer";
4828    }3294    }
4829    leaf ebgp-recv-dmz {3295    leaf ebgp-recv-dmz {
4830      type boolean;3296      type boolean;
4831      description3297      description
4832        "Receive Bandwidth of link to single-hop eBGP3298        "Receive Bandwidth of link to single-hop eBGP
4833         peer";3299         peer";
4834    }3300    }
4835    leaf ebgp-send-dmz-mode {3301    leaf ebgp-send-dmz-mode {
4836      type Bgp-ebgp-send-dmz-enable-mode;3302      type Bgp-ebgp-send-dmz-enable-mode;
4837      description3303      description
4838        "Ebgp send dmz link bw mode";3304        "Ebgp send dmz link bw mode";
4839    }3305    }
4840    leaf tos-type {3306    leaf tos-type {
4841      type uint8;3307      type uint8;
4842      description3308      description
4843        "Precedence or DSCP type";3309        "Precedence or DSCP type";
4844    }3310    }
4845    leaf tos-value {3311    leaf tos-value {
4846      type uint8;3312      type uint8;
4847      description3313      description
4848        "Precedence or DSCP value";3314        "Precedence or DSCP value";
4849    }3315    }
4850    leaf tcp-session-open-mode {3316    leaf tcp-session-open-mode {
4851      type Bgp-tcp-mode;3317      type Bgp-tcp-mode;
4852      description3318      description
4853        "The TCP mode to be used to set up BGP session3319        "The TCP mode to be used to set up BGP session
4854         with the neighbor";3320         with the neighbor";
4855    }3321    }
4856    leaf vrf-name {3322    leaf vrf-name {
4857      type string;3323      type string;
4858      description3324      description
4859        "Name of the VRF";3325        "Name of the VRF";
4860    }3326    }
4861    leaf standby-rp {3327    leaf standby-rp {
4862      type boolean;3328      type boolean;
4863      description3329      description
4864        "Standby RP socket inited for Active Open";3330        "Standby RP socket inited for Active Open";
4865    }3331    }
4866    leaf nsr-enabled {3332    leaf nsr-enabled {
4867      type boolean;3333      type boolean;
4868      description3334      description
4869        "Neighbor supports NSR";3335        "Neighbor supports NSR";
4870    }3336    }
4871    leaf graceful-restart-enabled-nbr {3337    leaf graceful-restart-enabled-nbr {
4872      type boolean;3338      type boolean;
4873      description3339      description
4874        "Neighbor supports graceful-restart";3340        "Neighbor supports graceful-restart";
4875    }3341    }
n4876    leaf graceful-restart-helper-mode {n
4877      type boolean;
4878      description
4879        "Neighbor supports graceful-restart in
4880         helper-mode";
4881    }
4882    leaf gr-restart-time {3342    leaf gr-restart-time {
4883      type uint32;3343      type uint32;
4884      units "second";3344      units "second";
4885      description3345      description
4886        "Neighbor restart time (in seconds)";3346        "Neighbor restart time (in seconds)";
4887    }3347    }
4888    leaf gr-stale-path-time {3348    leaf gr-stale-path-time {
4889      type uint32;3349      type uint32;
4890      units "second";3350      units "second";
4891      description3351      description
4892        "Neighbor stale-path time (in seconds)";3352        "Neighbor stale-path time (in seconds)";
4893    }3353    }
4894    leaf is-passive-close {3354    leaf is-passive-close {
4895      type boolean;3355      type boolean;
4896      description3356      description
4897        "If true, active socket canbe closed if passive3357        "If true, active socket canbe closed if passive
4898         openis received for a GRcapable neighbor";3358         openis received for a GRcapable neighbor";
4899    }3359    }
4900    leaf nbr-enforce-first-as {3360    leaf nbr-enforce-first-as {
4901      type boolean;3361      type boolean;
4902      description3362      description
4903        "Neighbor enforce first AS";3363        "Neighbor enforce first AS";
4904    }3364    }
4905    leaf active-bmp-servers {3365    leaf active-bmp-servers {
4906      type uint8;3366      type uint8;
4907      description3367      description
4908        "BMP Servers to which the neighbor sends logs";3368        "BMP Servers to which the neighbor sends logs";
4909    }3369    }
4910    leaf nbr-cluster-id {3370    leaf nbr-cluster-id {
4911      type uint32;3371      type uint32;
4912      description3372      description
4913        "Cluster id";3373        "Cluster id";
4914    }3374    }
4915    leaf nbr-in-cluster {3375    leaf nbr-in-cluster {
4916      type uint8;3376      type uint8;
4917      description3377      description
4918        "Type of cluster_id:undefined/number/Ip address";3378        "Type of cluster_id:undefined/number/Ip address";
4919    }3379    }
4920    leaf ignore-connected {3380    leaf ignore-connected {
4921      type boolean;3381      type boolean;
4922      description3382      description
4923        "If true, the VPN client isan IBGP CE peer";3383        "If true, the VPN client isan IBGP CE peer";
4924    }3384    }
4925    leaf internal-vpn-client {3385    leaf internal-vpn-client {
4926      type boolean;3386      type boolean;
4927      description3387      description
4928        "If true, don't do NHconnected check for nbr";3388        "If true, don't do NHconnected check for nbr";
4929    }3389    }
4930    leaf local-as-replace-as {3390    leaf local-as-replace-as {
4931      type boolean;3391      type boolean;
4932      description3392      description
4933        "Local AS Replace-AS option";3393        "Local AS Replace-AS option";
4934    }3394    }
4935    leaf local-as-dual-as {3395    leaf local-as-dual-as {
4936      type boolean;3396      type boolean;
4937      description3397      description
4938        "Local AS Dual-AS option";3398        "Local AS Dual-AS option";
4939    }3399    }
4940    leaf local-as-dual-as-mode-native {3400    leaf local-as-dual-as-mode-native {
4941      type boolean;3401      type boolean;
4942      description3402      description
4943        "Applies only if Local AS Dual-AS option is3403        "Applies only if Local AS Dual-AS option is
4944         enabled. Indicates if Dual-AS mode is native.";3404         enabled. Indicates if Dual-AS mode is native.";
4945    }3405    }
4946    leaf egress-peer-engineering-enabled {3406    leaf egress-peer-engineering-enabled {
4947      type boolean;3407      type boolean;
4948      description3408      description
4949        "Indicates if Egress Peer Engineering is enabled";3409        "Indicates if Egress Peer Engineering is enabled";
4950    }3410    }
4951    leaf discard-as4-path {3411    leaf discard-as4-path {
4952      type uint32;3412      type uint32;
4953      description3413      description
4954        "Discard AS4_PATH in case there is a discrepancy3414        "Discard AS4_PATH in case there is a discrepancy
4955         in merging AS_PATH and AS4_PATH,retain ASPATH";3415         in merging AS_PATH and AS4_PATH,retain ASPATH";
4956    }3416    }
4957    leaf rpki-disable {3417    leaf rpki-disable {
4958      type boolean;3418      type boolean;
4959      description3419      description
4960        "Prefix validation disabled";3420        "Prefix validation disabled";
4961    }3421    }
4962    leaf rpki-use-validity {3422    leaf rpki-use-validity {
4963      type boolean;3423      type boolean;
4964      description3424      description
4965        "Prefix v. use validity";3425        "Prefix v. use validity";
4966    }3426    }
4967    leaf rpki-allow-invalid {3427    leaf rpki-allow-invalid {
4968      type boolean;3428      type boolean;
4969      description3429      description
4970        "Prefix v. allow invalid";3430        "Prefix v. allow invalid";
4971    }3431    }
4972    leaf rpki-signal-ibgp {3432    leaf rpki-signal-ibgp {
4973      type boolean;3433      type boolean;
4974      description3434      description
4975        "Prefix v. signal ibgp";3435        "Prefix v. signal ibgp";
4976    }3436    }
4977    leaf remote-as-list-name {3437    leaf remote-as-list-name {
4978      type string;3438      type string;
4979      description3439      description
4980        "Remote AS List Name";3440        "Remote AS List Name";
4981    }3441    }
4982    leaf nbr-rcv-size {3442    leaf nbr-rcv-size {
4983      type uint32;3443      type uint32;
4984      description3444      description
4985        "Nbr Receive Size";3445        "Nbr Receive Size";
4986    }3446    }
4987    leaf nbr-send-size {3447    leaf nbr-send-size {
4988      type uint32;3448      type uint32;
4989      description3449      description
4990        "Nbr Send Size";3450        "Nbr Send Size";
4991    }3451    }
4992    leaf islocal-address-cfg {3452    leaf islocal-address-cfg {
4993      type boolean;3453      type boolean;
4994      description3454      description
4995        "Local address configured";3455        "Local address configured";
4996    }3456    }
4997    leaf update-source {3457    leaf update-source {
4998      type string;3458      type string;
4999      description3459      description
n5000        "Interface to get the local IP address for then3460        "Update Source";
5001         BGP session";
5002    }3461    }
5003    leaf is-local-addr-subnet-cfg {3462    leaf is-local-addr-subnet-cfg {
5004      type boolean;3463      type boolean;
5005      description3464      description
n5006        "Flag to indicate if local-address-subnet isn3465        "local-address-subnet configured";
5007         configured";
5008    }3466    }
5009    leaf local-address-subnet-len {3467    leaf local-address-subnet-len {
5010      type uint32;3468      type uint32;
5011      description3469      description
n5012        "Length of subnet for BGP local address";n3470        "local address subnet address len";
5013    }3471    }
5014    leaf addpath-send-enable {3472    leaf addpath-send-enable {
5015      type boolean;3473      type boolean;
5016      description3474      description
n5017        "Flag to indicate if addpath send functionalityn3475        "Addpath Send enabled";
5018         is enabled";
5019    }3476    }
5020    leaf addpath-receive-enable {3477    leaf addpath-receive-enable {
5021      type boolean;3478      type boolean;
5022      description3479      description
n5023        "Flag to indicate if addpath receiven3480        "Addpath Receive enable";
5024         functionality is enabled";
5025    }3481    }
5026    leaf addpath-send-disable {3482    leaf addpath-send-disable {
5027      type boolean;3483      type boolean;
5028      description3484      description
n5029        "Flag to indicate addpath send functionality isn3485        "Addpath Send Disabled";
5030         disabled";
5031    }3486    }
5032    leaf addpath-receive-disable {3487    leaf addpath-receive-disable {
5033      type boolean;3488      type boolean;
5034      description3489      description
n5035        "Flag indicates if addpath receive functionalityn3490        "Addpath Receive Disabled";
5036         is disabled";
5037    }3491    }
5038    leaf upd-errh-noreset {3492    leaf upd-errh-noreset {
5039      type boolean;3493      type boolean;
5040      description3494      description
n5041        "Update error handling as avoid-reset to errros ";n3495        "Update errh noreset";
5042    }3496    }
5043    leaf msg-buf-count {3497    leaf msg-buf-count {
5044      type uint32;3498      type uint32;
5045      description3499      description
5046        "Message Buf Count";3500        "Message Buf Count";
5047    }3501    }
5048    leaf msg-bug-circular {3502    leaf msg-bug-circular {
5049      type boolean;3503      type boolean;
5050      description3504      description
5051        "Message Buf Circular";3505        "Message Buf Circular";
5052    }3506    }
5053    leaf syslog-enable {3507    leaf syslog-enable {
5054      type boolean;3508      type boolean;
5055      description3509      description
n5056        "Flag to indicate if syslog should be output whenn3510        "syslog enable";
5057         an attribute filter is executed";
5058    }3511    }
5059    leaf oper-attrf-enable {3512    leaf oper-attrf-enable {
5060      type boolean;3513      type boolean;
5061      description3514      description
n5062        "Flag to indicate if operational attribute filtern3515        "Oper attrf Enable";
5063         is enabled";
5064    }3516    }
5065    leaf attrf-group-name {3517    leaf attrf-group-name {
5066      type string;3518      type string;
5067      description3519      description
n5068        "Name of the attribute filter group Name";n3520        "Attrf Group Name";
5069    }3521    }
5070    leaf max-peers {3522    leaf max-peers {
5071      type uint32;3523      type uint32;
5072      description3524      description
5073        "Max Dynamic nbrs in range";3525        "Max Dynamic nbrs in range";
5074    }3526    }
5075    leaf idle-watch-time {3527    leaf idle-watch-time {
5076      type uint32;3528      type uint32;
5077      units "second";3529      units "second";
5078      description3530      description
5079        "Dynamic Neighbor idle-watch time (in seconds)";3531        "Dynamic Neighbor idle-watch time (in seconds)";
5080    }3532    }
5081    leaf current-peers {3533    leaf current-peers {
5082      type uint32;3534      type uint32;
5083      description3535      description
5084        "Current Dynamic nbrs in range";3536        "Current Dynamic nbrs in range";
5085    }3537    }
5086    leaf range-open-match {3538    leaf range-open-match {
5087      type uint32;3539      type uint32;
5088      description3540      description
5089        "Passive open matching range";3541        "Passive open matching range";
5090    }3542    }
5091    leaf range-open-accepted {3543    leaf range-open-accepted {
5092      type uint32;3544      type uint32;
5093      description3545      description
n5094        "BGP neighbor passive session accepted";n3546        "open accepted";
5095    }3547    }
5096    leaf range-max-drop {3548    leaf range-max-drop {
5097      type uint32;3549      type uint32;
5098      description3550      description
5099        "open drop due to max peers";3551        "open drop due to max peers";
5100    }3552    }
5101    leaf range-inst-error {3553    leaf range-inst-error {
5102      type uint32;3554      type uint32;
5103      description3555      description
5104        "Error during instance creation";3556        "Error during instance creation";
n5105    }n
5106    leaf update-error-handling-treat-as-withdraw {
5107      type boolean;
5108      description
5109        "Update error handling as treat-as-withdrawto
5110         errors";
5111    }
5112    leaf allow-as-in {
5113      type uint32;
5114      description
5115        "Number of Own AS numbers allowed in inbound
5116         update";
5117    }
5118    leaf sent-community-to-neighbor {
5119      type boolean;
5120      description
5121        "Community attribute sent toneighbor";
5122    }
5123    leaf sent-extended-community-to-neighbor {
5124      type boolean;
5125      description
5126        "Extended Communityattribute sent to neighbor";
5127    }
5128    leaf dampeniing {
5129      type Bgp-nbr-dampening;
5130      description
5131        "neighbor dampening";
5132    }
5133    leaf is-as-override-disabled {
5134      type Bgp-nbr-aspath-as-override;
5135      description
5136        "Disable as override";
5137    }
5138    leaf nbr-disable-peer-as {
5139      type Bgp-nbr-disable-peer-as;
5140      description
5141        "Neighbor Disable Peer AS";
5142    }
5143    leaf gbl-disable-peer-as-enable {
5144      type boolean;
5145      description
5146        "Global Disable Peer AS Enable";
5147    }
5148    leaf nbr-fast-fallover {
5149      type boolean;
5150      description
5151        "BGP neighbor will go down if its directly
5152         connected interface goes down";
5153    }
5154    leaf ipfwd-preferred {
5155      type boolean;
5156      description
5157        "Prefer to send BGP control packets on IP";
5158    }
5159    leaf skip-read-count {
5160      type uint32;
5161      description
5162        "Skip Read count";
5163    }3557    }
5164    list af-data {3558    list af-data {
5165      max-elements "25";3559      max-elements "25";
5166      description3560      description
5167        "Address family specific neighbor data";3561        "Address family specific neighbor data";
5168      uses BGP-NBR-RANGE-AF;3562      uses BGP-NBR-RANGE-AF;
5169    }3563    }
5170    list instance {3564    list instance {
5171      description3565      description
5172        "Dynamic Neighbor Instance List";3566        "Dynamic Neighbor Instance List";
5173      uses BGP-NBR-INSTANCE;3567      uses BGP-NBR-INSTANCE;
5174    }3568    }
5175  }3569  }
51763570
5177  grouping BGP-NEXTHOP-VRF-BAG {3571  grouping BGP-NEXTHOP-VRF-BAG {
5178    description3572    description
5179      "BGP nexthop processing information for a VRF";3573      "BGP nexthop processing information for a VRF";
5180    leaf total-processing-time {3574    leaf total-processing-time {
5181      type uint32;3575      type uint32;
5182      description3576      description
5183        "Total time spent in processing";3577        "Total time spent in processing";
5184    }3578    }
5185    leaf max-proc-notification-time {3579    leaf max-proc-notification-time {
5186      type uint32;3580      type uint32;
5187      description3581      description
5188        "How long since the maximum processing time3582        "How long since the maximum processing time
5189         notifcation was received";3583         notifcation was received";
5190    }3584    }
5191    leaf max-notification-bestpath-deletes {3585    leaf max-notification-bestpath-deletes {
5192      type uint32;3586      type uint32;
5193      description3587      description
5194        "Number of bestpath deletes caused by3588        "Number of bestpath deletes caused by
5195         notification which resulted in maximum3589         notification which resulted in maximum
5196         processing";3590         processing";
5197    }3591    }
5198    leaf max-notification-bestpath-changes {3592    leaf max-notification-bestpath-changes {
5199      type uint32;3593      type uint32;
5200      description3594      description
5201        "Number of bestpath changes caused by3595        "Number of bestpath changes caused by
5202         notification which resulted in maximum3596         notification which resulted in maximum
5203         processing";3597         processing";
5204    }3598    }
5205    leaf maximum-processing-time {3599    leaf maximum-processing-time {
5206      type uint32;3600      type uint32;
5207      description3601      description
5208        "Maximum time spent procesing a single batch3602        "Maximum time spent procesing a single batch
5209         notification";3603         notification";
5210    }3604    }
5211    leaf last-notificationication-time {3605    leaf last-notificationication-time {
5212      type uint32;3606      type uint32;
5213      description3607      description
5214        "Time since the last notification was received";3608        "Time since the last notification was received";
5215    }3609    }
5216    leaf last-notification-processing-time {3610    leaf last-notification-processing-time {
5217      type uint32;3611      type uint32;
5218      description3612      description
5219        "Processing time for the last notification";3613        "Processing time for the last notification";
5220    }3614    }
5221  }3615  }
52223616
nn3617  grouping BGP-NBR-BRIEF-BAG {
3618    description
3619      "BGP Neighbor brief Information";
3620    container connection-local-address {
3621      description
3622        "Local address for the connection";
3623      uses BGP-ADDRTYPE;
3624    }
3625    container connection-remote-address {
3626      description
3627        "Remote address for the connection";
3628      uses BGP-ADDRTYPE;
3629    }
3630    leaf speaker-id {
3631      type uint8;
3632      description
3633        "Speaker this neighbor is allocated to";
3634    }
3635    leaf description {
3636      type string;
3637      description
3638        "Description";
3639    }
3640    leaf local-as {
3641      type uint32;
3642      description
3643        "Local AS number";
3644    }
3645    leaf remote-as {
3646      type uint32;
3647      description
3648        "Remote AS number";
3649    }
3650    leaf messages-queued-in {
3651      type uint32;
3652      description
3653        "No. of msgs on receive queue";
3654    }
3655    leaf messages-queued-out {
3656      type uint32;
3657      description
3658        "No. of messages on send queue";
3659    }
3660    leaf connection-state {
3661      type Bgp-conn-state;
3662      description
3663        "State of connection";
3664    }
3665    leaf is-local-address-configured {
3666      type boolean;
3667      description
3668        "Local address configured for the neighbor
3669         connection";
3670    }
3671    leaf vrf-name {
3672      type string;
3673      description
3674        "Name of the VRF";
3675    }
3676    leaf nsr-enabled {
3677      type boolean;
3678      description
3679        "Neighbor supports NSR";
3680    }
3681    leaf nsr-state {
3682      type Bgp-sync-nbr-nsr-state;
3683      description
3684        "NSR state";
3685    }
3686    leaf postit-pending {
3687      type boolean;
3688      description
3689        "Nbr has postits pending";
3690    }
3691  }
3692 
5223  grouping BGP-PERF-PROCESS-VRF {3693  grouping BGP-PERF-PROCESS-VRF {
5224    description3694    description
5225      "BGP PERF PROCESS VRF";3695      "BGP PERF PROCESS VRF";
5226    leaf lpts-set-up-time {3696    leaf lpts-set-up-time {
5227      type uint32;3697      type uint32;
5228      description3698      description
5229        "Time spent setting up LPTS socket opt (ms)";3699        "Time spent setting up LPTS socket opt (ms)";
5230    }3700    }
5231    leaf lpts-calls {3701    leaf lpts-calls {
5232      type uint32;3702      type uint32;
5233      description3703      description
5234        "Number of times LPTS socket opt set up";3704        "Number of times LPTS socket opt set up";
5235    }3705    }
5236    leaf read-throttles-count {3706    leaf read-throttles-count {
5237      type uint32;3707      type uint32;
5238      description3708      description
5239        "Number of partial read throttles";3709        "Number of partial read throttles";
5240    }3710    }
5241    leaf low-throttled-read-count {3711    leaf low-throttled-read-count {
5242      type uint32;3712      type uint32;
5243      description3713      description
5244        "Number of socket reads for nbrs above low3714        "Number of socket reads for nbrs above low
5245         threshold";3715         threshold";
5246    }3716    }
5247    leaf high-throttled-read-count {3717    leaf high-throttled-read-count {
5248      type uint32;3718      type uint32;
5249      description3719      description
5250        "Number of socket reads for nbrs above high3720        "Number of socket reads for nbrs above high
5251         threshold";3721         threshold";
5252    }3722    }
5253    leaf read-calls-count {3723    leaf read-calls-count {
5254      type uint32;3724      type uint32;
5255      description3725      description
5256        "No. of calls to function to read inbound data";3726        "No. of calls to function to read inbound data";
5257    }3727    }
5258    leaf read-messages-count {3728    leaf read-messages-count {
5259      type uint32;3729      type uint32;
5260      description3730      description
5261        "Number of BGP messages read";3731        "Number of BGP messages read";
5262    }3732    }
5263    leaf data-bytes-read {3733    leaf data-bytes-read {
5264      type uint32;3734      type uint32;
5265      units "byte";3735      units "byte";
5266      description3736      description
5267        "No. of bytes of data read";3737        "No. of bytes of data read";
5268    }3738    }
5269    leaf io-read-time {3739    leaf io-read-time {
5270      type uint32;3740      type uint32;
5271      description3741      description
5272        "Time spent reading inbound data (ms)";3742        "Time spent reading inbound data (ms)";
5273    }3743    }
5274    leaf write-calls-count {3744    leaf write-calls-count {
5275      type uint32;3745      type uint32;
5276      description3746      description
5277        "No. of calls to function to write outbound data";3747        "No. of calls to function to write outbound data";
5278    }3748    }
5279    leaf data-bytes-written {3749    leaf data-bytes-written {
5280      type uint32;3750      type uint32;
5281      units "byte";3751      units "byte";
5282      description3752      description
5283        "Number of bytes of data written";3753        "Number of bytes of data written";
5284    }3754    }
5285    leaf io-write-time {3755    leaf io-write-time {
5286      type uint32;3756      type uint32;
5287      description3757      description
5288        "Time spent writing outbound data (ms)";3758        "Time spent writing outbound data (ms)";
5289    }3759    }
5290    leaf write-subgroup-calls-count {3760    leaf write-subgroup-calls-count {
5291      type uint32;3761      type uint32;
5292      description3762      description
5293        "No. of calls to to funvction to process3763        "No. of calls to to funvction to process
5294         sub-group message list";3764         sub-group message list";
5295    }3765    }
5296    leaf write-subgroup-messages-count {3766    leaf write-subgroup-messages-count {
5297      type uint32;3767      type uint32;
5298      description3768      description
5299        "Number of sub-group messages processed";3769        "Number of sub-group messages processed";
5300    }3770    }
5301    leaf subgroup-list-time {3771    leaf subgroup-list-time {
5302      type uint32;3772      type uint32;
5303      units "millisecond";3773      units "millisecond";
5304      description3774      description
5305        "Time spent processing sub-group message list3775        "Time spent processing sub-group message list
5306         (milliseconds)";3776         (milliseconds)";
5307    }3777    }
5308    leaf write-queue-calls-count {3778    leaf write-queue-calls-count {
5309      type uint32;3779      type uint32;
5310      description3780      description
5311        "No. of Calls to function to process write queue";3781        "No. of Calls to function to process write queue";
5312    }3782    }
5313    leaf write-queue-messages-count {3783    leaf write-queue-messages-count {
5314      type uint32;3784      type uint32;
5315      description3785      description
5316        "Number of write queue messages processed";3786        "Number of write queue messages processed";
5317    }3787    }
5318    leaf write-queue-time {3788    leaf write-queue-time {
5319      type uint32;3789      type uint32;
5320      description3790      description
5321        "Time spent processing write queue (ms)";3791        "Time spent processing write queue (ms)";
5322    }3792    }
5323    leaf inbound-update-messages {3793    leaf inbound-update-messages {
5324      type uint32;3794      type uint32;
5325      description3795      description
5326        "Number of inbound update messages processed";3796        "Number of inbound update messages processed";
5327    }3797    }
5328    leaf inbound-update-messages-time {3798    leaf inbound-update-messages-time {
5329      type uint32;3799      type uint32;
5330      units "millisecond";3800      units "millisecond";
5331      description3801      description
5332        "Time spent processing imbound update messages3802        "Time spent processing imbound update messages
5333         (milliseconds)";3803         (milliseconds)";
n5334    }n
5335    leaf read-throttled-nbr-count {
5336      type uint32;
5337      description
5338        "Number of neighbors currently throttled for
5339         reading";
5340    }
5341    leaf max-read-throttled-nbrs {
5342      type uint32;
5343      description
5344        "Maximum Number of neighbors that were throttled
5345         for reading";
5346    }
5347    leaf max-read-throttled-nbrs-time {
5348      type uint64;
5349      description
5350        "Time when Maximum Number of neighbors were
5351         throttled for reading";
5352    }
5353    leaf write-throttled-nbr-count {
5354      type uint32;
5355      description
5356        "Number of neighbors currently throttled for
5357         writing";
5358    }
5359    leaf max-write-throttled-nbrs {
5360      type uint32;
5361      description
5362        "Maximum Number of neighbors that were throttled
5363         for writing";
5364    }
5365    leaf max-write-throttled-nbrs-time {
5366      type uint64;
5367      description
5368        "Time when Maximum Number of neighbors were
5369         throttled for writing";
5370    }
5371    leaf write-throttles-count {
5372      type uint32;
5373      description
5374        "Number of write throttles";
5375    }
5376  }
5377 
5378  grouping BGP-NSR-RECV-STATS-INFO {
5379    description
5380      "BGP NSR RECV STATS INFO";
5381    container start-time {
5382      description
5383        "Start Time";
5384      uses BGP-TIMESPEC;
5385    }
5386    container end-time {
5387      description
5388        "End Time";
5389      uses BGP-TIMESPEC;
5390    }
5391    leaf interval {
5392      type uint32;
5393      description
5394        "Time Interval";
5395    }
5396    leaf packet-count {
5397      type uint32;
5398      description
5399        "Number of packets";
5400    }
5401    leaf start-seq {
5402      type uint32;
5403      description
5404        "Start Sequence number";
5405    }
5406    leaf end-seq {
5407      type uint32;
5408      description
5409        "End Sequence number";
5410    }
5411    leaf avg-time {
5412      type uint64;
5413      description
5414        "Avg Time";
5415    }3804    }
5416  }3805  }
54173806
5418  grouping BGP-ISSU-MILESTONE-BAG {3807  grouping BGP-ISSU-MILESTONE-BAG {
5419    description3808    description
5420      "BGP ISSU MILESTONE BAG";3809      "BGP ISSU MILESTONE BAG";
5421    leaf milestone-name {3810    leaf milestone-name {
5422      type string;3811      type string;
5423      description3812      description
n5424        "Name of the in-service software upgrade (ISSU)n
5425         milestone";3813        "Milestone name";
5426    }3814    }
5427    leaf milestone-start-timestamp {3815    leaf milestone-start-timestamp {
5428      type uint32;3816      type uint32;
5429      description3817      description
n5430        "Timestamp for the ISSU milestone start";n3818        "Milestone start timestamp";
5431    }3819    }
5432    leaf milestone-met-timestamp {3820    leaf milestone-met-timestamp {
5433      type uint32;3821      type uint32;
5434      description3822      description
n5435        "Timestamp when ISSU milestone met";n3823        "Milestone met timestamp";
5436    }3824    }
5437  }3825  }
54383826
5439  grouping BGP-PERF-NPL-ENDP-INFO-BAG {3827  grouping BGP-PERF-NPL-ENDP-INFO-BAG {
5440    description3828    description
5441      "BGP PERF NPL ENDP INFO BAG";3829      "BGP PERF NPL ENDP INFO BAG";
5442    leaf endpoint-name {3830    leaf endpoint-name {
5443      type string;3831      type string;
5444      description3832      description
n5445        "BGP NPL endpoint name";n3833        "Endpoint name";
5446    }3834    }
5447    leaf sync-group-name {3835    leaf sync-group-name {
5448      type string;3836      type string;
5449      description3837      description
5450        "Syncgroup associated with this endpoint";3838        "Syncgroup associated with this endpoint";
5451    }3839    }
5452    leaf node-id {3840    leaf node-id {
5453      type xr:Node-id;3841      type xr:Node-id;
5454      description3842      description
5455        "Node ID";3843        "Node ID";
5456    }3844    }
5457    leaf endpoint-handle {3845    leaf endpoint-handle {
5458      type uint64;3846      type uint64;
5459      description3847      description
n5460        "Handle to end-point for NCD communication";n3848        "NCD endpoint handle";
5461    }3849    }
5462    leaf endpoint-stale-flag {3850    leaf endpoint-stale-flag {
5463      type boolean;3851      type boolean;
5464      description3852      description
n5465        "Flag to indicate if endpoint is stale";n3853        "Endpoint stale flag";
5466    }3854    }
5467    leaf endpoint-issu-role {3855    leaf endpoint-issu-role {
5468      type string;3856      type string;
5469      description3857      description
5470        "Endpoint's ISSU Role. Values are 'Primary',3858        "Endpoint's ISSU Role. Values are 'Primary',
5471         'Secondary' and 'Tertiary'";3859         'Secondary' and 'Tertiary'";
5472    }3860    }
5473    leaf endpoint-active-flag {3861    leaf endpoint-active-flag {
5474      type boolean;3862      type boolean;
5475      description3863      description
n5476        "Flag to indicate if endpoint is active";n3864        "Endpoint active flag";
5477    }3865    }
5478    leaf msg-size {3866    leaf msg-size {
5479      type uint32;3867      type uint32;
5480      description3868      description
5481        "Message size for this entity";3869        "Message size for this entity";
5482    }3870    }
5483    leaf wheel-id {3871    leaf wheel-id {
5484      type uint32;3872      type uint32;
5485      description3873      description
5486        "Wheel ID for this endpoint";3874        "Wheel ID for this endpoint";
5487    }3875    }
5488    leaf expected-sequence-num {3876    leaf expected-sequence-num {
5489      type uint32;3877      type uint32;
5490      description3878      description
n5491        "BGP NPL sequence number expected";n3879        "Expected sequence number";
5492    }
5493    leaf last-sent-sequence-num {
5494      type uint32;
5495      description
5496        "Last sent Sequence Num";
5497    }
5498    leaf npl-initial-sequence-num {
5499      type uint32;
5500      description
5501        "NPL Initial Sequence Num";
5502    }3880    }
5503    list endpoint {3881    list endpoint {
5504      description3882      description
5505        "NCD endpoint bytestream";3883        "NCD endpoint bytestream";
5506      leaf entry {3884      leaf entry {
5507        type uint8;3885        type uint8;
5508        units "byte";3886        units "byte";
5509        description3887        description
5510          "NCD endpoint bytestream";3888          "NCD endpoint bytestream";
5511      }3889      }
5512    }3890    }
5513  }3891  }
55143892
5515  grouping NSR-PL-RECV-DROP-ARRAY {3893  grouping NSR-PL-RECV-DROP-ARRAY {
5516    description3894    description
n5517      "Drop count while receiving messages";n3895      "NSR PL RECV DROP ARRAY";
5518    list nsr-pl-recv-drop-array {3896    list nsr-pl-recv-drop-array {
5519      max-elements "16";3897      max-elements "16";
5520      description3898      description
5521        "nsr pl recv drop array";3899        "nsr pl recv drop array";
5522      leaf entry {3900      leaf entry {
5523        type uint32;3901        type uint32;
5524        description3902        description
n5525          "entry";n3903          "nsr pl recv drop array";
5526      }3904      }
5527    }3905    }
5528  }3906  }
55293907
5530  grouping NSR-PL-SEND-DROP-ARRAY {3908  grouping NSR-PL-SEND-DROP-ARRAY {
5531    description3909    description
n5532      "Drop count while sending messages";n3910      "NSR PL SEND DROP ARRAY";
5533    list nsr-pl-send-drop-array {3911    list nsr-pl-send-drop-array {
5534      max-elements "7";3912      max-elements "7";
5535      description3913      description
5536        "nsr pl send drop array";3914        "nsr pl send drop array";
5537      leaf entry {3915      leaf entry {
5538        type uint32;3916        type uint32;
5539        description3917        description
n5540          "entry";n3918          "nsr pl send drop array";
5541      }3919      }
5542    }3920    }
5543  }3921  }
55443922
5545  grouping NSR-PL-CLIENT-STATS-TYPE {3923  grouping NSR-PL-CLIENT-STATS-TYPE {
5546    description3924    description
5547      "NSR PL stats information";3925      "NSR PL stats information";
n5548    leaf prio-queue-level {n
5549      type string {
5550        length "0..32";
5551      }
5552      description
5553        "npl priority queue level";
5554    }
5555    list num-sent {3926    list num-sent {
5556      max-elements "5";3927      max-elements "5";
5557      description3928      description
5558        "Total sent";3929        "Total sent";
5559      leaf entry {3930      leaf entry {
5560        type uint64;3931        type uint64;
5561        description3932        description
5562          "Total sent";3933          "Total sent";
5563      }3934      }
5564    }3935    }
5565    list num-recv {3936    list num-recv {
5566      max-elements "6";3937      max-elements "6";
5567      description3938      description
5568        "Total recvd";3939        "Total recvd";
5569      leaf entry {3940      leaf entry {
5570        type uint64;3941        type uint64;
5571        description3942        description
5572          "Total recvd";3943          "Total recvd";
5573      }3944      }
5574    }3945    }
5575    list num-sent-drop {3946    list num-sent-drop {
5576      max-elements "5";3947      max-elements "5";
5577      description3948      description
5578        "Sent Error/drops";3949        "Sent Error/drops";
5579      uses NSR-PL-SEND-DROP-ARRAY;3950      uses NSR-PL-SEND-DROP-ARRAY;
5580    }3951    }
5581    list num-recv-drop {3952    list num-recv-drop {
5582      max-elements "6";3953      max-elements "6";
5583      description3954      description
5584        "Recv Errors/drops";3955        "Recv Errors/drops";
5585      uses NSR-PL-RECV-DROP-ARRAY;3956      uses NSR-PL-RECV-DROP-ARRAY;
5586    }3957    }
5587  }3958  }
55883959
5589  grouping BGP-PERF-DS-NPL-INFO-BAG {3960  grouping BGP-PERF-DS-NPL-INFO-BAG {
5590    description3961    description
5591      "BGP PERF DS NPL INFO BAG";3962      "BGP PERF DS NPL INFO BAG";
5592    leaf dir-service-conn-state {3963    leaf dir-service-conn-state {
5593      type Bgp-ds-conn-state;3964      type Bgp-ds-conn-state;
5594      description3965      description
5595        "Current Directory Service connectionstate";3966        "Current Directory Service connectionstate";
5596    }3967    }
5597    leaf issu-mgr-conn-state {3968    leaf issu-mgr-conn-state {
5598      type Bgp-ism-conn-state;3969      type Bgp-ism-conn-state;
5599      description3970      description
5600        "Current ISSU Mgr connection state";3971        "Current ISSU Mgr connection state";
5601    }3972    }
5602    leaf issu-phase {3973    leaf issu-phase {
5603      type string;3974      type string;
5604      description3975      description
5605        "Current ISSU Phase";3976        "Current ISSU Phase";
5606    }3977    }
5607    leaf issu-type-ng {3978    leaf issu-type-ng {
5608      type boolean;3979      type boolean;
5609      description3980      description
5610        "ISSU type is Next Gen";3981        "ISSU type is Next Gen";
5611    }3982    }
5612    leaf issuha-option {3983    leaf issuha-option {
5613      type string;3984      type string;
5614      description3985      description
5615        "Current ISSU HA option";3986        "Current ISSU HA option";
5616    }3987    }
5617    leaf local-ds-handle {3988    leaf local-ds-handle {
5618      type uint64;3989      type uint64;
5619      description3990      description
5620        "Local Directory Service handle";3991        "Local Directory Service handle";
5621    }3992    }
5622    leaf service-name {3993    leaf service-name {
5623      type string;3994      type string;
5624      description3995      description
5625        "Local DS service name";3996        "Local DS service name";
5626    }3997    }
5627    leaf dsissu-status-flag {3998    leaf dsissu-status-flag {
5628      type uint32;3999      type uint32;
5629      description4000      description
5630        "DS ISSU status flag";4001        "DS ISSU status flag";
5631    }4002    }
5632    list npl-priority-statistic {4003    list npl-priority-statistic {
5633      max-elements "2";4004      max-elements "2";
5634      description4005      description
n5635        "Stats for BGP NPL priority";n4006        "NPL priority statistics";
5636      uses NSR-PL-CLIENT-STATS-TYPE;4007      uses NSR-PL-CLIENT-STATS-TYPE;
5637    }4008    }
5638    list npl-endpoint {4009    list npl-endpoint {
5639      description4010      description
5640        "NPL endpoint information";4011        "NPL endpoint information";
5641      uses BGP-PERF-NPL-ENDP-INFO-BAG;4012      uses BGP-PERF-NPL-ENDP-INFO-BAG;
5642    }4013    }
5643  }4014  }
56444015
5645  grouping BGP-PERF-SERVER-CONN-STAT-BAG {4016  grouping BGP-PERF-SERVER-CONN-STAT-BAG {
5646    description4017    description
5647      "BGP PERF SERVER CONN STAT BAG";4018      "BGP PERF SERVER CONN STAT BAG";
5648    container first-connection-up-timestamp {4019    container first-connection-up-timestamp {
5649      description4020      description
n5650        "Timestamp for first connection up";n4021        "First connection Up event timestamp";
5651      uses BGP-TIMESPEC;4022      uses BGP-TIMESPEC;
5652    }4023    }
5653    container last-connection-up-timestamp {4024    container last-connection-up-timestamp {
5654      description4025      description
n5655        "Timestamp for last connection Up";n4026        "Last connection Up event timestamp";
5656      uses BGP-TIMESPEC;4027      uses BGP-TIMESPEC;
5657    }4028    }
5658    container first-connection-down-timestamp {4029    container first-connection-down-timestamp {
5659      description4030      description
n5660        "Timestamp for first connection down";n4031        "First connection Down event timestamp";
5661      uses BGP-TIMESPEC;4032      uses BGP-TIMESPEC;
5662    }4033    }
5663    container last-connection-down-timestamp {4034    container last-connection-down-timestamp {
5664      description4035      description
n5665        "Timestamp for last connection down";n4036        "Last connection Down event timestamp";
5666      uses BGP-TIMESPEC;4037      uses BGP-TIMESPEC;
5667    }4038    }
5668    leaf is-connection-up {4039    leaf is-connection-up {
5669      type boolean;4040      type boolean;
5670      description4041      description
5671        "Is Connection Up?";4042        "Is Connection Up?";
5672    }4043    }
5673    leaf connection-up-count {4044    leaf connection-up-count {
5674      type uint32;4045      type uint32;
5675      description4046      description
5676        "Number of connection Up events";4047        "Number of connection Up events";
5677    }4048    }
5678    leaf last-connection-up-age {4049    leaf last-connection-up-age {
5679      type uint32;4050      type uint32;
5680      units "second";4051      units "second";
5681      description4052      description
5682        "Time since last connection Up event (in seconds)";4053        "Time since last connection Up event (in seconds)";
5683    }4054    }
5684    leaf connection-down-count {4055    leaf connection-down-count {
5685      type uint32;4056      type uint32;
5686      description4057      description
5687        "Number of connection down events";4058        "Number of connection down events";
5688    }4059    }
5689    leaf last-connection-down-age {4060    leaf last-connection-down-age {
5690      type uint32;4061      type uint32;
5691      units "second";4062      units "second";
5692      description4063      description
5693        "Time since last connection Down event (in4064        "Time since last connection Down event (in
5694         seconds)";4065         seconds)";
5695    }4066    }
5696  }4067  }
56974068
5698  grouping BGP-PERF-RIB-GBL-INFO-BAG {4069  grouping BGP-PERF-RIB-GBL-INFO-BAG {
5699    description4070    description
5700      "BGP PERF RIB GBL INFO BAG";4071      "BGP PERF RIB GBL INFO BAG";
5701    container first-rib-connection-up-timestamp {4072    container first-rib-connection-up-timestamp {
5702      description4073      description
5703        "First RIB connection Up event timestamp";4074        "First RIB connection Up event timestamp";
5704      uses BGP-TIMESPEC;4075      uses BGP-TIMESPEC;
5705    }4076    }
5706    container last-rib-connection-up-timestamp {4077    container last-rib-connection-up-timestamp {
5707      description4078      description
5708        "Last RIB connection Up event timestamp";4079        "Last RIB connection Up event timestamp";
5709      uses BGP-TIMESPEC;4080      uses BGP-TIMESPEC;
5710    }4081    }
5711    container first-rib-connection-down-timestamp {4082    container first-rib-connection-down-timestamp {
5712      description4083      description
5713        "First RIB connection Down event timestamp";4084        "First RIB connection Down event timestamp";
5714      uses BGP-TIMESPEC;4085      uses BGP-TIMESPEC;
5715    }4086    }
5716    container last-rib-connection-down-timestamp {4087    container last-rib-connection-down-timestamp {
5717      description4088      description
5718        "Last RIB connection Down event timestamp";4089        "Last RIB connection Down event timestamp";
5719      uses BGP-TIMESPEC;4090      uses BGP-TIMESPEC;
5720    }4091    }
5721    leaf is-rib-connection-up {4092    leaf is-rib-connection-up {
5722      type boolean;4093      type boolean;
5723      description4094      description
5724        "Is RIB Connection Up?";4095        "Is RIB Connection Up?";
5725    }4096    }
5726    leaf rib-connection-up-count {4097    leaf rib-connection-up-count {
5727      type uint32;4098      type uint32;
5728      description4099      description
5729        "Number of RIB connection Up events";4100        "Number of RIB connection Up events";
5730    }4101    }
5731    leaf last-rib-connection-up-age {4102    leaf last-rib-connection-up-age {
5732      type uint32;4103      type uint32;
5733      units "second";4104      units "second";
5734      description4105      description
5735        "Time since last RIB connection Up event (in4106        "Time since last RIB connection Up event (in
5736         seconds)";4107         seconds)";
5737    }4108    }
5738    leaf rib-connection-down-count {4109    leaf rib-connection-down-count {
5739      type uint32;4110      type uint32;
5740      description4111      description
5741        "Number of RIB connection Down events";4112        "Number of RIB connection Down events";
5742    }4113    }
5743    leaf last-rib-connection-down-age {4114    leaf last-rib-connection-down-age {
5744      type uint32;4115      type uint32;
5745      units "second";4116      units "second";
5746      description4117      description
5747        "Time since last RIB connection Down event (in4118        "Time since last RIB connection Down event (in
5748         seconds)";4119         seconds)";
5749    }4120    }
5750  }4121  }
57514122
5752  grouping BGP-POSTIT-COUNT-INFO {4123  grouping BGP-POSTIT-COUNT-INFO {
5753    description4124    description
5754      "BGP POSTIT COUNT INFO";4125      "BGP POSTIT COUNT INFO";
5755    container neighbor-address {4126    container neighbor-address {
5756      description4127      description
n5757        "IP address of the neighbor";n4128        "Neighbor Address";
5758      uses BGP-ADDRTYPE;4129      uses BGP-ADDRTYPE;
5759    }4130    }
5760    leaf postit-count {4131    leaf postit-count {
5761      type uint32;4132      type uint32;
5762      description4133      description
5763        "Count of the number of postits for this nbr";4134        "Count of the number of postits for this nbr";
5764    }4135    }
5765    leaf vrf-name {4136    leaf vrf-name {
5766      type string;4137      type string;
5767      description4138      description
5768        "Name of the VRF";4139        "Name of the VRF";
5769    }4140    }
5770  }4141  }
57714142
5772  grouping BGP-PERF-PROCESS-GBL {4143  grouping BGP-PERF-PROCESS-GBL {
5773    description4144    description
5774      "BGP PERF PROCESS GBL";4145      "BGP PERF PROCESS GBL";
5775    container ipv4rib-server {4146    container ipv4rib-server {
5776      description4147      description
5777        "IPv4 RIB server global info";4148        "IPv4 RIB server global info";
5778      uses BGP-PERF-RIB-GBL-INFO-BAG;4149      uses BGP-PERF-RIB-GBL-INFO-BAG;
5779    }4150    }
5780    container ipv6rib-server {4151    container ipv6rib-server {
5781      description4152      description
5782        "IPv6 RIB server global info";4153        "IPv6 RIB server global info";
5783      uses BGP-PERF-RIB-GBL-INFO-BAG;4154      uses BGP-PERF-RIB-GBL-INFO-BAG;
5784    }4155    }
5785    container te-connection {4156    container te-connection {
5786      description4157      description
5787        "MPLS TE server connection info";4158        "MPLS TE server connection info";
5788      uses BGP-PERF-SERVER-CONN-STAT-BAG;4159      uses BGP-PERF-SERVER-CONN-STAT-BAG;
5789    }4160    }
5790    container lsd-connection {4161    container lsd-connection {
5791      description4162      description
5792        "MPLS LSD server connection info";4163        "MPLS LSD server connection info";
5793      uses BGP-PERF-SERVER-CONN-STAT-BAG;4164      uses BGP-PERF-SERVER-CONN-STAT-BAG;
5794    }4165    }
5795    container ds-npl {4166    container ds-npl {
5796      description4167      description
5797        "NSR related DS and NPL information";4168        "NSR related DS and NPL information";
5798      uses BGP-PERF-DS-NPL-INFO-BAG;4169      uses BGP-PERF-DS-NPL-INFO-BAG;
5799    }4170    }
5800    leaf configuration-items-processed {4171    leaf configuration-items-processed {
5801      type uint32;4172      type uint32;
5802      description4173      description
5803        "Number of config items processed";4174        "Number of config items processed";
5804    }4175    }
5805    leaf configuration-processing-time {4176    leaf configuration-processing-time {
5806      type uint32;4177      type uint32;
5807      units "millisecond";4178      units "millisecond";
5808      description4179      description
5809        "Time spent processing config (milliseconds)";4180        "Time spent processing config (milliseconds)";
5810    }4181    }
5811    leaf edm-requests-count {4182    leaf edm-requests-count {
5812      type uint32;4183      type uint32;
5813      description4184      description
5814        "Number of EDM requests processed";4185        "Number of EDM requests processed";
5815    }4186    }
5816    leaf edm-processing-time {4187    leaf edm-processing-time {
5817      type uint32;4188      type uint32;
5818      description4189      description
5819        "Time spent processing EDM requests (ms)";4190        "Time spent processing EDM requests (ms)";
5820    }4191    }
5821    leaf brib-api-output-messages-sent {4192    leaf brib-api-output-messages-sent {
5822      type uint32;4193      type uint32;
5823      description4194      description
5824        "bRIB API output messages sent";4195        "bRIB API output messages sent";
5825    }4196    }
5826    leaf brib-api-output-bytes-sent {4197    leaf brib-api-output-bytes-sent {
5827      type uint32;4198      type uint32;
5828      units "byte";4199      units "byte";
5829      description4200      description
5830        "bRIB API output bytes sent";4201        "bRIB API output bytes sent";
5831    }4202    }
5832    leaf brib-api-output-bytes-generated {4203    leaf brib-api-output-bytes-generated {
5833      type uint32;4204      type uint32;
5834      units "byte";4205      units "byte";
5835      description4206      description
n5836        "Number of bytes generated to be sent by the BGPn4207        "bRIB API output bytes generated";
5837         RIB API";
5838    }4208    }
5839    leaf brib-api-output-prefixes-advertised {4209    leaf brib-api-output-prefixes-advertised {
5840      type uint32;4210      type uint32;
5841      description4211      description
n5842        "Number of prefix advertise messagesto be sent byn4212        "bRIB API output prefixes advertised";
5843         the bRIB API";
5844    }4213    }
5845    leaf brib-api-output-prefixes-withdrawn {4214    leaf brib-api-output-prefixes-withdrawn {
5846      type uint32;4215      type uint32;
5847      description4216      description
n5848        "Number of prefix withdraw messagesto be sent byn4217        "bRIB API output prefixes withdrawn";
5849         the bRIB API";
5850    }4218    }
5851    leaf brib-api-output-sending-time {4219    leaf brib-api-output-sending-time {
5852      type uint32;4220      type uint32;
5853      description4221      description
5854        "Time spent sending output to bRIB API (ms)";4222        "Time spent sending output to bRIB API (ms)";
5855    }4223    }
5856    leaf brib-api-output-generation-time {4224    leaf brib-api-output-generation-time {
5857      type uint32;4225      type uint32;
5858      units "millisecond";4226      units "millisecond";
5859      description4227      description
5860        "Time spent generating output for bRIB API4228        "Time spent generating output for bRIB API
5861         (milliseconds)";4229         (milliseconds)";
5862    }4230    }
5863    leaf brib-api-output-calls {4231    leaf brib-api-output-calls {
5864      type uint32;4232      type uint32;
5865      description4233      description
5866        "bRIB API calls to generate output";4234        "bRIB API calls to generate output";
5867    }4235    }
5868    leaf brib-api-input-messages {4236    leaf brib-api-input-messages {
5869      type uint32;4237      type uint32;
5870      description4238      description
5871        "bRIB API input messages";4239        "bRIB API input messages";
5872    }4240    }
5873    leaf brib-api-input-bytes {4241    leaf brib-api-input-bytes {
5874      type uint32;4242      type uint32;
5875      units "byte";4243      units "byte";
5876      description4244      description
5877        "bRIB API input bytes";4245        "bRIB API input bytes";
5878    }4246    }
5879    leaf brib-api-input-prefixes-received {4247    leaf brib-api-input-prefixes-received {
5880      type uint32;4248      type uint32;
5881      description4249      description
5882        "bRIB API input advertised prefixes received";4250        "bRIB API input advertised prefixes received";
5883    }4251    }
5884    leaf brib-api-input-withdrawn-prefixes {4252    leaf brib-api-input-withdrawn-prefixes {
5885      type uint32;4253      type uint32;
5886      description4254      description
5887        "bRIB API input withdrawn prefixes received";4255        "bRIB API input withdrawn prefixes received";
5888    }4256    }
5889    leaf brib-api-input-processing-time {4257    leaf brib-api-input-processing-time {
5890      type uint32;4258      type uint32;
5891      units "millisecond";4259      units "millisecond";
5892      description4260      description
5893        "Time spent processing input from bRIB API4261        "Time spent processing input from bRIB API
5894         (milliseconds)";4262         (milliseconds)";
5895    }4263    }
5896    leaf instance-node-role {4264    leaf instance-node-role {
5897      type boolean;4265      type boolean;
5898      description4266      description
5899        "Node role - active/passive";4267        "Node role - active/passive";
5900    }4268    }
5901    leaf active-nsrtcp-phase-two-enter-time {4269    leaf active-nsrtcp-phase-two-enter-time {
5902      type uint32;4270      type uint32;
5903      units "second";4271      units "second";
5904      description4272      description
5905        "Time that NSR TCP Init Sync Phase Two entered on4273        "Time that NSR TCP Init Sync Phase Two entered on
5906         active (seconds since Jan 1 1970)";4274         active (seconds since Jan 1 1970)";
5907    }4275    }
5908    leaf sec-active-nsrtcp-phase-two-enter-time {4276    leaf sec-active-nsrtcp-phase-two-enter-time {
5909      type uint32;4277      type uint32;
5910      units "second";4278      units "second";
5911      description4279      description
5912        "Time that NSR TCP Init Sync Phase Two entered on4280        "Time that NSR TCP Init Sync Phase Two entered on
5913         active (seconds since Jan 1 1970)";4281         active (seconds since Jan 1 1970)";
5914    }4282    }
5915    leaf proc-scoped-sync-state {4283    leaf proc-scoped-sync-state {
5916      type Bgp-scoped-sync-state;4284      type Bgp-scoped-sync-state;
5917      description4285      description
n5918        "Synchronized state of BGP process";n4286        "BGP scoped sync state";
5919    }4287    }
5920    leaf initial-sync-sessions-added {4288    leaf initial-sync-sessions-added {
5921      type boolean;4289      type boolean;
5922      description4290      description
5923        "If true, BGP has at least one established4291        "If true, BGP has at least one established
5924         session when NSR initial synchronization is4292         session when NSR initial synchronization is
5925         started";4293         started";
5926    }4294    }
5927    leaf in-event-attach-calls {4295    leaf in-event-attach-calls {
5928      type uint32;4296      type uint32;
5929      description4297      description
5930        "event_file_attach  calls for input";4298        "event_file_attach  calls for input";
5931    }4299    }
5932    leaf out-event-attach-calls {4300    leaf out-event-attach-calls {
5933      type uint32;4301      type uint32;
5934      description4302      description
5935        "event_file_attach  calls for output";4303        "event_file_attach  calls for output";
5936    }4304    }
5937    leaf in-out-event-attach-calls {4305    leaf in-out-event-attach-calls {
5938      type uint32;4306      type uint32;
5939      description4307      description
5940        "event_file_attach calls for input";4308        "event_file_attach calls for input";
5941    }4309    }
n5942    leaf updgen-timer-running {n4310    leaf updgen-timer-id {
5943      type boolean;4311      type uint32;
5944      description4312      description
n5945        "Flag to indicate if update generation mastern4313        "Updgen master timer ID";
5946         timer is running";
5947    }4314    }
5948    leaf updgen-tree-timer-left {4315    leaf updgen-tree-timer-left {
5949      type uint64;4316      type uint64;
5950      description4317      description
5951        "Time left before the QNX timer would expire";4318        "Time left before the QNX timer would expire";
5952    }4319    }
5953    leaf updgen-tree-timer-expiry {4320    leaf updgen-tree-timer-expiry {
5954      type uint64;4321      type uint64;
5955      description4322      description
5956        "Time as per tree->mtexptime";4323        "Time as per tree->mtexptime";
5957    }4324    }
5958    leaf current-clock-time {4325    leaf current-clock-time {
5959      type uint64;4326      type uint64;
5960      description4327      description
5961        "Current time";4328        "Current time";
5962    }4329    }
5963    leaf updgen-handler-tm {4330    leaf updgen-handler-tm {
5964      type uint64;4331      type uint64;
5965      description4332      description
5966        "Timestamp when updgen timer handler got called";4333        "Timestamp when updgen timer handler got called";
5967    }4334    }
n5968    leaf io-timer-running {n4335    leaf io-timer-id {
5969      type boolean;4336      type uint32;
5970      description4337      description
n5971        "IO master timer Running";n4338        "IO master timer ID";
5972    }4339    }
5973    leaf io-tree-timer-left {4340    leaf io-tree-timer-left {
5974      type uint64;4341      type uint64;
5975      description4342      description
5976        "Time left before the QNX timer would expire";4343        "Time left before the QNX timer would expire";
5977    }4344    }
5978    leaf io-tree-timer-expiry {4345    leaf io-tree-timer-expiry {
5979      type uint64;4346      type uint64;
5980      description4347      description
5981        "Time as per tree->mtexptime";4348        "Time as per tree->mtexptime";
5982    }4349    }
5983    leaf io-handler-tm {4350    leaf io-handler-tm {
5984      type uint64;4351      type uint64;
5985      description4352      description
5986        "Timestamp when IO timer handler got called";4353        "Timestamp when IO timer handler got called";
5987    }4354    }
5988    leaf qad-messages-sent {4355    leaf qad-messages-sent {
5989      type uint32;4356      type uint32;
5990      description4357      description
5991        "Messages sent on QAD ";4358        "Messages sent on QAD ";
5992    }4359    }
5993    leaf qadack-sent {4360    leaf qadack-sent {
5994      type uint32;4361      type uint32;
5995      description4362      description
5996        "Acks sent on QAD ";4363        "Acks sent on QAD ";
5997    }4364    }
5998    leaf qad-send-failure {4365    leaf qad-send-failure {
5999      type uint32;4366      type uint32;
6000      description4367      description
6001        "Send failure on QAD ";4368        "Send failure on QAD ";
6002    }4369    }
6003    leaf qad-ac-ks-failure {4370    leaf qad-ac-ks-failure {
6004      type uint32;4371      type uint32;
6005      description4372      description
6006        "Ack failure on QAD ";4373        "Ack failure on QAD ";
6007    }4374    }
6008    leaf qad-suspends {4375    leaf qad-suspends {
6009      type uint32;4376      type uint32;
6010      description4377      description
6011        "QAD send suspend";4378        "QAD send suspend";
6012    }4379    }
6013    leaf qad-resumes {4380    leaf qad-resumes {
6014      type uint32;4381      type uint32;
6015      description4382      description
6016        "QAD send resume ";4383        "QAD send resume ";
6017    }4384    }
6018    leaf qad-send-drops {4385    leaf qad-send-drops {
6019      type uint32;4386      type uint32;
6020      description4387      description
6021        "Send packets dropped due to null peer ";4388        "Send packets dropped due to null peer ";
6022    }4389    }
6023    leaf qad-messages-received {4390    leaf qad-messages-received {
6024      type uint32;4391      type uint32;
6025      description4392      description
6026        "Messages received on QAD ";4393        "Messages received on QAD ";
6027    }4394    }
6028    leaf qad-processed {4395    leaf qad-processed {
6029      type uint32;4396      type uint32;
6030      description4397      description
6031        "Messages processed";4398        "Messages processed";
6032    }4399    }
6033    leaf qad-ac-ks-received {4400    leaf qad-ac-ks-received {
6034      type uint32;4401      type uint32;
6035      description4402      description
6036        "Acks received on QAD ";4403        "Acks received on QAD ";
6037    }4404    }
6038    leaf qad-timeout-received {4405    leaf qad-timeout-received {
6039      type uint32;4406      type uint32;
6040      description4407      description
6041        "Timeouts received on QAD ";4408        "Timeouts received on QAD ";
6042    }4409    }
6043    leaf qad-init-drops {4410    leaf qad-init-drops {
6044      type uint32;4411      type uint32;
6045      description4412      description
6046        "Packets dropped on standby during initialization";4413        "Packets dropped on standby during initialization";
6047    }4414    }
6048    leaf qadoos-drops {4415    leaf qadoos-drops {
6049      type uint32;4416      type uint32;
6050      description4417      description
6051        "Packets dropped due to  out of sequence4418        "Packets dropped due to  out of sequence
6052         packetreceived";4419         packetreceived";
6053    }4420    }
6054    leaf qad-recv-drops {4421    leaf qad-recv-drops {
6055      type uint32;4422      type uint32;
6056      description4423      description
6057        "Received packet dropped due to null peer ";4424        "Received packet dropped due to null peer ";
6058    }4425    }
6059    leaf qad-timeout-recvd {4426    leaf qad-timeout-recvd {
6060      type uint32;4427      type uint32;
6061      description4428      description
6062        "Number of packet send timeouts ";4429        "Number of packet send timeouts ";
6063    }4430    }
6064    leaf nsr-last-reset-reason {4431    leaf nsr-last-reset-reason {
6065      type uint8;4432      type uint8;
6066      description4433      description
6067        "Reason for last nsr state  machine reset";4434        "Reason for last nsr state  machine reset";
6068    }4435    }
6069    leaf redcon-nsr-ready {4436    leaf redcon-nsr-ready {
6070      type boolean;4437      type boolean;
6071      description4438      description
6072        "NSR state conveyed to Redcon  by bgp - nsr4439        "NSR state conveyed to Redcon  by bgp - nsr
6073         ready/unready";4440         ready/unready";
6074    }4441    }
6075    leaf redcon-state-time {4442    leaf redcon-state-time {
6076      type uint32;4443      type uint32;
6077      description4444      description
6078        "Time when nsr state wasconveyed to Redcon last";4445        "Time when nsr state wasconveyed to Redcon last";
6079    }4446    }
6080    leaf active-nsr-state {4447    leaf active-nsr-state {
6081      type uint32;4448      type uint32;
6082      description4449      description
6083        "Current Active BGP nsrstate";4450        "Current Active BGP nsrstate";
6084    }4451    }
6085    leaf sec-active-nsr-state {4452    leaf sec-active-nsr-state {
6086      type uint32;4453      type uint32;
6087      description4454      description
6088        "Current Sec Active BGP nsrstate";4455        "Current Sec Active BGP nsrstate";
6089    }4456    }
6090    leaf total-outstanding-postits {4457    leaf total-outstanding-postits {
6091      type uint32;4458      type uint32;
6092      description4459      description
6093        "Total outstanding postits across all neighbors";4460        "Total outstanding postits across all neighbors";
6094    }4461    }
6095    leaf total-neighbors-with-pending-postits {4462    leaf total-neighbors-with-pending-postits {
6096      type uint32;4463      type uint32;
6097      description4464      description
n6098        "Count of neighbors with postits pending";n4465        "Total nbrs with pending postits";
6099    }4466    }
6100    leaf tep2p-auto-tunnel-enabled {4467    leaf tep2p-auto-tunnel-enabled {
6101      type boolean;4468      type boolean;
6102      description4469      description
6103        "TE support for P2P auto tunnel";4470        "TE support for P2P auto tunnel";
n6104    }n
6105    leaf scoped-sync-batch-count {
6106      type uint32;
6107      description
6108        "Number of scoped sync batch occured";
6109    }4471    }
6110    list active-nsr-mode-enter-time {4472    list active-nsr-mode-enter-time {
6111      max-elements "26";4473      max-elements "26";
6112      description4474      description
6113        "Time that each mode was entered (seconds since4475        "Time that each mode was entered (seconds since
6114         4476         
6115         Jan 1 1970)";4477         Jan 1 1970)";
6116      leaf entry {4478      leaf entry {
6117        type uint32;4479        type uint32;
6118        units "second";4480        units "second";
6119        description4481        description
6120          "Time that each mode was entered (seconds since4482          "Time that each mode was entered (seconds since
6121           4483           
6122           Jan 1 1970)";4484           Jan 1 1970)";
6123      }4485      }
6124    }4486    }
6125    list standby-nsr-mode-enter-time {4487    list standby-nsr-mode-enter-time {
6126      max-elements "7";4488      max-elements "7";
6127      description4489      description
6128        "Time that each mode was entered (seconds since4490        "Time that each mode was entered (seconds since
6129         4491         
6130         Jan 1 1970)";4492         Jan 1 1970)";
6131      leaf entry {4493      leaf entry {
6132        type uint32;4494        type uint32;
6133        units "second";4495        units "second";
6134        description4496        description
6135          "Time that each mode was entered (seconds since4497          "Time that each mode was entered (seconds since
6136           4498           
6137           Jan 1 1970)";4499           Jan 1 1970)";
6138      }4500      }
6139    }4501    }
6140    list active-nsrfo-time {4502    list active-nsrfo-time {
6141      max-elements "10";4503      max-elements "10";
6142      description4504      description
6143        "Time that each thread isdone with its4505        "Time that each thread isdone with its
6144         4506         
6145         go-activeprocessing (seconds since Jan 1 1970)";4507         go-activeprocessing (seconds since Jan 1 1970)";
6146      leaf entry {4508      leaf entry {
6147        type uint32;4509        type uint32;
6148        units "second";4510        units "second";
6149        description4511        description
6150          "Time that each thread isdone with its4512          "Time that each thread isdone with its
6151           4513           
6152           go-activeprocessing (seconds since Jan 1 1970)";4514           go-activeprocessing (seconds since Jan 1 1970)";
6153      }4515      }
6154    }4516    }
6155    list postit-count-info {4517    list postit-count-info {
6156      description4518      description
6157        "List of neighbors and their postit counts";4519        "List of neighbors and their postit counts";
6158      uses BGP-POSTIT-COUNT-INFO;4520      uses BGP-POSTIT-COUNT-INFO;
6159    }4521    }
6160    list issu-milestone {4522    list issu-milestone {
6161      description4523      description
6162        "ISSU Milestones";4524        "ISSU Milestones";
6163      uses BGP-ISSU-MILESTONE-BAG;4525      uses BGP-ISSU-MILESTONE-BAG;
6164    }4526    }
n6165    list receive-stat {n
6166      description
6167        "List of Average Receive Stats";
6168      uses BGP-NSR-RECV-STATS-INFO;
6169    }
6170  }4527  }
61714528
6172  grouping BGP-PERF-PROCESS {4529  grouping BGP-PERF-PROCESS {
6173    description4530    description
6174      "BGP PERF PROCESS";4531      "BGP PERF PROCESS";
6175    container global {4532    container global {
6176      description4533      description
6177        "Global information";4534        "Global information";
6178      uses BGP-PERF-PROCESS-GBL;4535      uses BGP-PERF-PROCESS-GBL;
6179    }4536    }
6180    container vrf {4537    container vrf {
6181      description4538      description
6182        "VRF information";4539        "VRF information";
6183      uses BGP-PERF-PROCESS-VRF;4540      uses BGP-PERF-PROCESS-VRF;
6184    }4541    }
6185  }4542  }
61864543
6187  grouping BGP-PROCESS-INFO-VRF {4544  grouping BGP-PROCESS-INFO-VRF {
6188    description4545    description
6189      "BGP PROCESS INFO VRF";4546      "BGP PROCESS INFO VRF";
6190    leaf neighbors-count {4547    leaf neighbors-count {
6191      type uint32;4548      type uint32;
6192      description4549      description
6193        "Number of neighbors";4550        "Number of neighbors";
6194    }4551    }
6195    leaf established-neighbors-count {4552    leaf established-neighbors-count {
6196      type uint32;4553      type uint32;
6197      description4554      description
6198        "Number of established neighbors";4555        "Number of established neighbors";
6199    }4556    }
6200    leaf update-messages-received {4557    leaf update-messages-received {
6201      type uint32;4558      type uint32;
6202      description4559      description
n6203        "Count of BGP update messages received";n4560        "Number of update messages received";
6204    }4561    }
6205    leaf update-messages-sent {4562    leaf update-messages-sent {
6206      type uint32;4563      type uint32;
6207      description4564      description
n6208        "Count of BGP update messages sent";n4565        "No. of update messages sent";
6209    }4566    }
6210    leaf notifications-received {4567    leaf notifications-received {
6211      type uint32;4568      type uint32;
6212      description4569      description
n6213        "Number of BGP notifications received";n4570        "No. of notifications received";
6214    }4571    }
6215    leaf notifications-sent {4572    leaf notifications-sent {
6216      type uint32;4573      type uint32;
6217      description4574      description
n6218        "Number of BGP notifications sent";n4575        "No. of notifications sent";
6219    }4576    }
6220    leaf network-count {4577    leaf network-count {
6221      type uint32;4578      type uint32;
6222      description4579      description
6223        "Number of networks";4580        "Number of networks";
6224    }4581    }
6225    leaf path-count {4582    leaf path-count {
6226      type uint32;4583      type uint32;
6227      description4584      description
6228        "Number of paths";4585        "Number of paths";
6229    }4586    }
6230  }4587  }
62314588
6232  grouping BGP-PROCESS-INFO-GBL {4589  grouping BGP-PROCESS-INFO-GBL {
6233    description4590    description
6234      "BGP PROCESS INFO GBL";4591      "BGP PROCESS INFO GBL";
6235    leaf process-instance-node {4592    leaf process-instance-node {
6236      type string;4593      type string;
6237      description4594      description
6238        "Node the process instance is on";4595        "Node the process instance is on";
6239    }4596    }
6240    leaf restart-count {4597    leaf restart-count {
6241      type uint32;4598      type uint32;
6242      description4599      description
6243        "No. of times BGP has started";4600        "No. of times BGP has started";
6244    }4601    }
6245    leaf path-attributes-entry-count {4602    leaf path-attributes-entry-count {
6246      type uint32;4603      type uint32;
6247      description4604      description
6248        "No. of path attribute entries";4605        "No. of path attribute entries";
6249    }4606    }
6250    leaf path-attribute-memory {4607    leaf path-attribute-memory {
6251      type uint32;4608      type uint32;
6252      units "byte";4609      units "byte";
6253      description4610      description
6254        "Memory (bytes) used by path attribute entries";4611        "Memory (bytes) used by path attribute entries";
6255    }4612    }
6256    leaf as-path-entry-count {4613    leaf as-path-entry-count {
6257      type uint32;4614      type uint32;
6258      description4615      description
6259        "Number of AS-path entries";4616        "Number of AS-path entries";
6260    }4617    }
6261    leaf as-path-entries-memory {4618    leaf as-path-entries-memory {
6262      type uint32;4619      type uint32;
6263      units "byte";4620      units "byte";
6264      description4621      description
6265        "Memory (in bytes) used by AS-path entries";4622        "Memory (in bytes) used by AS-path entries";
6266    }4623    }
6267    leaf community-entry-count {4624    leaf community-entry-count {
6268      type uint32;4625      type uint32;
6269      description4626      description
6270        "Number of community entries";4627        "Number of community entries";
6271    }4628    }
6272    leaf community-memory {4629    leaf community-memory {
6273      type uint32;4630      type uint32;
6274      units "byte";4631      units "byte";
6275      description4632      description
6276        "Memory (in bytes) used by community entries";4633        "Memory (in bytes) used by community entries";
6277    }4634    }
6278    leaf extended-community-entry-count {4635    leaf extended-community-entry-count {
6279      type uint32;4636      type uint32;
6280      description4637      description
6281        "Number of extended community entries";4638        "Number of extended community entries";
6282    }4639    }
6283    leaf extended-community-memory {4640    leaf extended-community-memory {
6284      type uint32;4641      type uint32;
6285      units "byte";4642      units "byte";
6286      description4643      description
6287        "Memory (in bytes) used by extended community4644        "Memory (in bytes) used by extended community
6288         entries";4645         entries";
6289    }4646    }
6290    leaf pe-distinguisher-label-entry-count {4647    leaf pe-distinguisher-label-entry-count {
6291      type uint32;4648      type uint32;
6292      description4649      description
6293        "Number of PE distinguisher label entries";4650        "Number of PE distinguisher label entries";
6294    }4651    }
6295    leaf pe-distinguisher-label-memory {4652    leaf pe-distinguisher-label-memory {
6296      type uint32;4653      type uint32;
6297      units "byte";4654      units "byte";
6298      description4655      description
6299        "Memory (in bytes) used by PE distinguisher4656        "Memory (in bytes) used by PE distinguisher
6300         labels entries";4657         labels entries";
6301    }4658    }
6302    leaf pta-entry-count {4659    leaf pta-entry-count {
6303      type uint32;4660      type uint32;
6304      description4661      description
6305        "Number of PTA entries";4662        "Number of PTA entries";
6306    }4663    }
6307    leaf pta-memory {4664    leaf pta-memory {
6308      type uint32;4665      type uint32;
6309      units "byte";4666      units "byte";
6310      description4667      description
6311        "Memory (in bytes) used by PTA entries";4668        "Memory (in bytes) used by PTA entries";
6312    }4669    }
6313    leaf tunnel-encap-entry-count {4670    leaf tunnel-encap-entry-count {
6314      type uint32;4671      type uint32;
6315      description4672      description
6316        "Number of Tunnel encap entries";4673        "Number of Tunnel encap entries";
6317    }4674    }
6318    leaf tunnel-encap-memory {4675    leaf tunnel-encap-memory {
6319      type uint32;4676      type uint32;
6320      units "byte";4677      units "byte";
6321      description4678      description
6322        "Memory (in bytes) used by tunnel encap entries";4679        "Memory (in bytes) used by tunnel encap entries";
6323    }4680    }
6324    leaf ribrnh-entry-count {4681    leaf ribrnh-entry-count {
6325      type uint32;4682      type uint32;
6326      description4683      description
6327        "Number of RIBRNH entries";4684        "Number of RIBRNH entries";
6328    }4685    }
6329    leaf ribrnh-memory {4686    leaf ribrnh-memory {
6330      type uint32;4687      type uint32;
6331      units "byte";4688      units "byte";
6332      description4689      description
6333        "Memory (in bytes) used by RIBRNH entries";4690        "Memory (in bytes) used by RIBRNH entries";
6334    }4691    }
6335    leaf ppmp-entry-count {4692    leaf ppmp-entry-count {
6336      type uint32;4693      type uint32;
6337      description4694      description
6338        "Number of PPMP entries";4695        "Number of PPMP entries";
6339    }4696    }
6340    leaf ppmp-memory {4697    leaf ppmp-memory {
6341      type uint32;4698      type uint32;
6342      units "byte";4699      units "byte";
6343      description4700      description
6344        "Memory (in bytes) used by PPMP entries";4701        "Memory (in bytes) used by PPMP entries";
6345    }4702    }
6346    leaf route-reflectors {4703    leaf route-reflectors {
6347      type uint32;4704      type uint32;
6348      description4705      description
6349        "Number of route reflector info entries";4706        "Number of route reflector info entries";
6350    }4707    }
6351    leaf route-reflector-memory {4708    leaf route-reflector-memory {
6352      type uint32;4709      type uint32;
6353      units "byte";4710      units "byte";
6354      description4711      description
6355        "Memory (in bytes) used by route reflector info4712        "Memory (in bytes) used by route reflector info
6356         entries";4713         entries";
6357    }4714    }
6358    leaf nexthop-count {4715    leaf nexthop-count {
6359      type uint32;4716      type uint32;
6360      description4717      description
6361        "Number of nexthop attribute info entries";4718        "Number of nexthop attribute info entries";
6362    }4719    }
6363    leaf nexthop-memory {4720    leaf nexthop-memory {
6364      type uint32;4721      type uint32;
6365      units "byte";4722      units "byte";
6366      description4723      description
6367        "Memory (in bytes) used by nexthop attribute info4724        "Memory (in bytes) used by nexthop attribute info
6368         entries";4725         entries";
6369    }4726    }
6370    leaf lsattr-entry-count {4727    leaf lsattr-entry-count {
6371      type uint32;4728      type uint32;
6372      description4729      description
6373        "Number of LASATTR entries";4730        "Number of LASATTR entries";
6374    }4731    }
6375    leaf lsattr-memory {4732    leaf lsattr-memory {
6376      type uint32;4733      type uint32;
6377      units "byte";4734      units "byte";
6378      description4735      description
6379        "Memory (in bytes) used by LSATTR entries";4736        "Memory (in bytes) used by LSATTR entries";
6380    }4737    }
6381    leaf attr-set-entry-count {4738    leaf attr-set-entry-count {
6382      type uint32;4739      type uint32;
6383      description4740      description
6384        "Number of ATTRSET entries";4741        "Number of ATTRSET entries";
6385    }4742    }
6386    leaf attr-set-memory {4743    leaf attr-set-memory {
6387      type uint32;4744      type uint32;
6388      units "byte";4745      units "byte";
6389      description4746      description
6390        "Memory (in bytes) used by ATTRSET entries";4747        "Memory (in bytes) used by ATTRSET entries";
6391    }4748    }
6392    leaf prefix-sid-label-index-count {4749    leaf prefix-sid-label-index-count {
6393      type uint32;4750      type uint32;
6394      description4751      description
6395        "Number of Prefix-SID LabelIndex entries";4752        "Number of Prefix-SID LabelIndex entries";
6396    }4753    }
6397    leaf prefix-sid-label-index-memory {4754    leaf prefix-sid-label-index-memory {
6398      type uint32;4755      type uint32;
6399      units "byte";4756      units "byte";
6400      description4757      description
6401        "Memory (in bytes) used by Prefix-SID LabelIndex4758        "Memory (in bytes) used by Prefix-SID LabelIndex
6402         entries";4759         entries";
6403    }4760    }
6404    leaf prefix-sid-orig-srgb-count {4761    leaf prefix-sid-orig-srgb-count {
6405      type uint32;4762      type uint32;
6406      description4763      description
6407        "Number of Prefix-SID OrigSRGB entries";4764        "Number of Prefix-SID OrigSRGB entries";
6408    }4765    }
6409    leaf prefix-sid-orig-srgb-memory {4766    leaf prefix-sid-orig-srgb-memory {
6410      type uint32;4767      type uint32;
6411      units "byte";4768      units "byte";
6412      description4769      description
6413        "Memory (in bytes) used by Prefix-SID OrigSRGB4770        "Memory (in bytes) used by Prefix-SID OrigSRGB
6414         entries";4771         entries";
6415    }4772    }
n6416    leaf prefix-sid-srv6-layer3-svc-count {n4773    leaf prefix-sids-rv6vpnsid-count {
6417      type uint32;4774      type uint32;
6418      description4775      description
n6419        "Number of Prefix-SID SRv6L3SVC entries";n4776        "Number of Prefix-SID SRv6VPNSID entries";
6420    }4777    }
n6421    leaf prefix-sid-srv6-layer3-svc-memory {n4778    leaf prefix-sids-rv6vpnsid-memory {
6422      type uint32;4779      type uint32;
6423      units "byte";4780      units "byte";
6424      description4781      description
n6425        "Memory (in bytes) used by Prefix-SID SRv6L3SVCn4782        "Memory (in bytes) used by Prefix-SID SRv6VPNSID
6426         entries";
6427    }
6428    leaf prefix-sid-srv6-layer2-svc-count {
6429      type uint32;
6430      description
6431        "Number of Prefix-SID SRv6L2SVC entries";
6432    }
6433    leaf prefix-sid-srv6-layer2-svc-memory {
6434      type uint32;
6435      units "byte";
6436      description
6437        "Memory (in bytes) used by Prefix-SID SRv6L2SVC
6438         entries";4783         entries";
6439    }4784    }
6440    leaf prefix-sid-unk-tl-vs-count {4785    leaf prefix-sid-unk-tl-vs-count {
6441      type uint32;4786      type uint32;
6442      description4787      description
6443        "Number of Prefix-SID UnkTLVs entries";4788        "Number of Prefix-SID UnkTLVs entries";
6444    }4789    }
6445    leaf prefix-sid-unk-tl-vs-memory {4790    leaf prefix-sid-unk-tl-vs-memory {
6446      type uint32;4791      type uint32;
6447      units "byte";4792      units "byte";
6448      description4793      description
6449        "Memory (in bytes) used by Prefix-SID UnkTLVs4794        "Memory (in bytes) used by Prefix-SID UnkTLVs
6450         entries";4795         entries";
6451    }4796    }
n6452    leaf oc-rib-attribute-sets-entry-count {n
6453      type uint32;
6454      description
6455        "Number of OC RIB specific attribute-set entries";
6456    }
6457    leaf oc-rib-attribute-set-memory {
6458      type uint32;
6459      units "byte";
6460      description
6461        "Memory (in bytes) used by OC RIB attribute-set
6462         entries";
6463    }
6464    leaf local-as {4797    leaf local-as {
6465      type uint32;4798      type uint32;
6466      description4799      description
6467        "Local autonomous system number";4800        "Local autonomous system number";
6468    }4801    }
6469    leaf total-vrf-count {4802    leaf total-vrf-count {
6470      type uint32;4803      type uint32;
6471      description4804      description
n6472        "Total count of VRFs";n4805        "total vrf count";
6473    }4806    }
6474    leaf neighbors-count-total {4807    leaf neighbors-count-total {
6475      type uint32;4808      type uint32;
6476      description4809      description
6477        "Total number of neighbors";4810        "Total number of neighbors";
6478    }4811    }
6479    leaf established-neighbors-count-total {4812    leaf established-neighbors-count-total {
6480      type uint32;4813      type uint32;
6481      description4814      description
n6482        "Total number of neighbors in established state";n4815        "Total umber of established neighbors";
6483    }4816    }
6484    leaf sn-num-non-dflt-vrf-nbrs {4817    leaf sn-num-non-dflt-vrf-nbrs {
6485      type uint32;4818      type uint32;
6486      description4819      description
n6487        "Number of neighbors in all non-default VRFs";n4820        "sn num non dflt vrf nbrs";
6488    }4821    }
6489    leaf sn-num-non-dflt-vrf-nbrs-estab {4822    leaf sn-num-non-dflt-vrf-nbrs-estab {
6490      type uint32;4823      type uint32;
6491      description4824      description
n6492        "Number of established neighbors in alln4825        "sn num non dflt vrf nbrs estab";
6493         non-default VRFs";
6494    }4826    }
6495    leaf large-community-entry-count {4827    leaf large-community-entry-count {
6496      type uint32;4828      type uint32;
6497      description4829      description
6498        "Number of large community entries";4830        "Number of large community entries";
6499    }4831    }
6500    leaf large-community-memory {4832    leaf large-community-memory {
6501      type uint32;4833      type uint32;
6502      units "byte";4834      units "byte";
6503      description4835      description
6504        "Memory (in bytes) used by large community4836        "Memory (in bytes) used by large community
6505         entries";4837         entries";
6506    }4838    }
6507    list pool-size {4839    list pool-size {
6508      max-elements "15";4840      max-elements "15";
6509      description4841      description
n6510        "BGP process maximum pool size";n4842        "pool size";
6511      leaf entry {4843      leaf entry {
6512        type uint32;4844        type uint32;
6513        description4845        description
n6514          "BGP process maximum pool size";n4846          "pool size";
6515      }4847      }
6516    }4848    }
6517    list pool-alloc-count {4849    list pool-alloc-count {
6518      max-elements "15";4850      max-elements "15";
6519      description4851      description
n6520        "Number of bytes of memory forpool allocation";n4852        "pool alloc count";
6521      leaf entry {4853      leaf entry {
6522        type uint32;4854        type uint32;
n6523        units "byte";n
6524        description4855        description
n6525          "Number of bytes of memory forpool allocation";n4856          "pool alloc count";
6526      }4857      }
6527    }4858    }
6528    list pool-free-count {4859    list pool-free-count {
6529      max-elements "15";4860      max-elements "15";
6530      description4861      description
n6531        "Number of bytes of memory freedin pool";n4862        "pool free count";
6532      leaf entry {4863      leaf entry {
6533        type uint32;4864        type uint32;
n6534        units "byte";n
6535        description4865        description
n6536          "Number of bytes of memory freedin pool";n4866          "pool free count";
6537      }4867      }
6538    }4868    }
6539    list msg-log-pool-size {4869    list msg-log-pool-size {
6540      max-elements "5";4870      max-elements "5";
6541      description4871      description
n6542        "Number of messages present in pool";n4872        "msg log pool size";
6543      leaf entry {4873      leaf entry {
6544        type uint32;4874        type uint32;
6545        description4875        description
n6546          "Number of messages present in pool";n4876          "msg log pool size";
6547      }4877      }
6548    }4878    }
6549    list msg-log-pool-alloc-count {4879    list msg-log-pool-alloc-count {
6550      max-elements "5";4880      max-elements "5";
6551      description4881      description
n6552        "Number of messages poolallocation memory";n4882        "msg log pool alloc count";
6553      leaf entry {4883      leaf entry {
6554        type uint32;4884        type uint32;
6555        description4885        description
n6556          "Number of messages poolallocation memory";n4886          "msg log pool alloc count";
6557      }4887      }
6558    }4888    }
6559    list msg-log-pool-free-count {4889    list msg-log-pool-free-count {
6560      max-elements "5";4890      max-elements "5";
6561      description4891      description
n6562        "Number of messages log freedfrom pool";n4892        "msg log pool free count";
6563      leaf entry {4893      leaf entry {
6564        type uint32;4894        type uint32;
6565        description4895        description
n6566          "Number of messages log freedfrom pool";n4896          "msg log pool free count";
6567      }4897      }
6568    }4898    }
6569    list bmp-pool-size {4899    list bmp-pool-size {
6570      max-elements "20";4900      max-elements "20";
6571      description4901      description
n6572        "BGP monitoring protocol (BMP) pool size";n4902        "bmp pool size";
6573      leaf entry {4903      leaf entry {
6574        type uint32;4904        type uint32;
6575        description4905        description
n6576          "BGP monitoring protocol (BMP) pool size";n4906          "bmp pool size";
6577      }4907      }
6578    }4908    }
6579    list bmp-pool-alloc-count {4909    list bmp-pool-alloc-count {
6580      max-elements "20";4910      max-elements "20";
6581      description4911      description
n6582        "Number of bytes of memoryallocated for BGPn4912        "bmp pool alloc count";
6583         
6584         monitoringprotocol pool";
6585      leaf entry {4913      leaf entry {
6586        type uint32;4914        type uint32;
n6587        units "byte";n
6588        description4915        description
n6589          "Number of bytes of memoryallocated for BGPn4916          "bmp pool alloc count";
6590           
6591           monitoringprotocol pool";
6592      }4917      }
6593    }4918    }
6594    list bmp-pool-free-count {4919    list bmp-pool-free-count {
6595      max-elements "20";4920      max-elements "20";
6596      description4921      description
n6597        "Number of bytes of memory freedfrom pool";n4922        "bmp pool free count";
6598      leaf entry {4923      leaf entry {
6599        type uint32;4924        type uint32;
n6600        units "byte";n
6601        description4925        description
n6602          "Number of bytes of memory freedfrom pool";n4926          "bmp pool free count";
6603      }4927      }
6604    }4928    }
6605  }4929  }
66064930
6607  grouping BGP-PROCESS-INFO-BAG {4931  grouping BGP-PROCESS-INFO-BAG {
6608    description4932    description
6609      "BGP Process information";4933      "BGP Process information";
6610    container global {4934    container global {
6611      description4935      description
6612        "Global information";4936        "Global information";
6613      uses BGP-PROCESS-INFO-GBL;4937      uses BGP-PROCESS-INFO-GBL;
6614    }4938    }
6615    container vrf {4939    container vrf {
6616      description4940      description
6617        "VRF information";4941        "VRF information";
6618      uses BGP-PROCESS-INFO-VRF;4942      uses BGP-PROCESS-INFO-VRF;
6619    }4943    }
6620    container performance-statistics {4944    container performance-statistics {
6621      description4945      description
n6622        "BGP process informationperformance statistics";n4946        "Performance statistics";
6623      uses BGP-PERF-PROCESS;4947      uses BGP-PERF-PROCESS;
6624    }4948    }
6625    leaf process-instance {4949    leaf process-instance {
6626      type uint8;4950      type uint8;
6627      description4951      description
6628        "ID for the BGP process instance";4952        "ID for the BGP process instance";
6629    }4953    }
6630    leaf vrf-name {4954    leaf vrf-name {
6631      type string;4955      type string;
6632      description4956      description
6633        "Name of the VRF";4957        "Name of the VRF";
6634    }4958    }
6635    leaf vrf-totals {4959    leaf vrf-totals {
6636      type boolean;4960      type boolean;
6637      description4961      description
6638        "per VRF counts aggregated across all VRFs";4962        "per VRF counts aggregated across all VRFs";
6639    }4963    }
6640  }4964  }
66414965
6642  grouping BGP-BMP-NBR-BAG {4966  grouping BGP-BMP-NBR-BAG {
6643    description4967    description
6644      "BMP per Neighbor Details";4968      "BMP per Neighbor Details";
6645    container bmp-neighbor-address {4969    container bmp-neighbor-address {
6646      description4970      description
6647        "Address of Nbr that logs to BMP server";4971        "Address of Nbr that logs to BMP server";
6648      uses BGP-ADDRTYPE;4972      uses BGP-ADDRTYPE;
6649    }4973    }
n6650    leaf vrf-name-xr {n
6651      type string;
6652      description
6653        "Name of the VRF";
6654    }
6655    leaf bmp-neighbor-msg-pending {4974    leaf bmp-neighbor-msg-pending {
6656      type uint32;4975      type uint32;
6657      description4976      description
6658        "Number of messages pending to be sent to BMP4977        "Number of messages pending to be sent to BMP
6659         Server from this Neighbor";4978         Server from this Neighbor";
6660    }4979    }
6661    leaf bmp-neighbor-msg-dropped {4980    leaf bmp-neighbor-msg-dropped {
6662      type uint32;4981      type uint32;
6663      description4982      description
6664        "Number of messages dropped sent from this4983        "Number of messages dropped sent from this
6665         neighbor";4984         neighbor";
6666    }4985    }
6667    leaf bmp-neighbor-peer-up-sent {4986    leaf bmp-neighbor-peer-up-sent {
6668      type uint32;4987      type uint32;
6669      description4988      description
6670        "Number of Peer UP Messages sent from this4989        "Number of Peer UP Messages sent from this
6671         neighbor";4990         neighbor";
6672    }4991    }
6673    leaf bmp-neighbor-peer-down-sent {4992    leaf bmp-neighbor-peer-down-sent {
6674      type uint32;4993      type uint32;
6675      description4994      description
6676        "Number of Peer DOWN Messages sent from this4995        "Number of Peer DOWN Messages sent from this
6677         neighbor";4996         neighbor";
6678    }4997    }
6679    leaf bmp-neighbor-route-monitor-sent {4998    leaf bmp-neighbor-route-monitor-sent {
6680      type uint32;4999      type uint32;
6681      description5000      description
6682        "Number of Route Monitor Messages sent";5001        "Number of Route Monitor Messages sent";
6683    }5002    }
6684    leaf bmp-neighbor-route-monitor-eor-sent {5003    leaf bmp-neighbor-route-monitor-eor-sent {
6685      type uint32;5004      type uint32;
6686      description5005      description
6687        "Number of Route Monitor EOR Messages sent";5006        "Number of Route Monitor EOR Messages sent";
6688    }5007    }
6689    leaf bmp-neighbor-path-update-sent {5008    leaf bmp-neighbor-path-update-sent {
6690      type uint32;5009      type uint32;
6691      description5010      description
6692        "Number of Path UpdateMessages sent";5011        "Number of Path UpdateMessages sent";
6693    }5012    }
6694    leaf bmp-neighbor-path-withdraw-sent {5013    leaf bmp-neighbor-path-withdraw-sent {
6695      type uint32;5014      type uint32;
6696      description5015      description
6697        "Number of Path WithdrawMessages sent";5016        "Number of Path WithdrawMessages sent";
6698    }5017    }
6699    leaf bmp-neighbor-path-update-drop {5018    leaf bmp-neighbor-path-update-drop {
6700      type uint32;5019      type uint32;
6701      description5020      description
6702        "Number of path update drop ";5021        "Number of path update drop ";
6703    }5022    }
6704    leaf bmp-neighbor-path-withdraw-drop {5023    leaf bmp-neighbor-path-withdraw-drop {
6705      type uint32;5024      type uint32;
6706      description5025      description
6707        "Number of path wdraw drop ";5026        "Number of path wdraw drop ";
6708    }5027    }
6709    leaf bmp-neighbor-upd-msg-sent {5028    leaf bmp-neighbor-upd-msg-sent {
6710      type uint32;5029      type uint32;
6711      description5030      description
6712        "Number of update message sent";5031        "Number of update message sent";
6713    }5032    }
6714    leaf bmp-neighbor-wdraw-msg-sent {5033    leaf bmp-neighbor-wdraw-msg-sent {
6715      type uint32;5034      type uint32;
6716      description5035      description
6717        "Number of withdraw message sent";5036        "Number of withdraw message sent";
6718    }5037    }
6719  }5038  }
67205039
6721  grouping BGP-BMP-SRVR-AFI {5040  grouping BGP-BMP-SRVR-AFI {
6722    description5041    description
6723      "BMP AFI Server Details";5042      "BMP AFI Server Details";
6724    container bmp-resume-prefix {5043    container bmp-resume-prefix {
6725      description5044      description
6726        "BMP Resume prefix";5045        "BMP Resume prefix";
6727      uses BGP-PREFIXTYPE;5046      uses BGP-PREFIXTYPE;
6728    }5047    }
6729    container bmp-filter-neighbor-address {5048    container bmp-filter-neighbor-address {
6730      description5049      description
6731        "Filter Neighbor Address";5050        "Filter Neighbor Address";
6732      uses BGP-ADDRTYPE;5051      uses BGP-ADDRTYPE;
6733    }5052    }
6734    leaf bmpaf-name {5053    leaf bmpaf-name {
6735      type Bgp-afi;5054      type Bgp-afi;
6736      description5055      description
6737        "BMP Address family identifier";5056        "BMP Address family identifier";
6738    }5057    }
6739    leaf bmp-resume-prefix-len {5058    leaf bmp-resume-prefix-len {
6740      type uint32;5059      type uint32;
6741      description5060      description
6742        "BMP Resume prefix Len";5061        "BMP Resume prefix Len";
6743    }5062    }
6744    leaf bmp-upd-gen-resume-start-version {5063    leaf bmp-upd-gen-resume-start-version {
n6745      type uint64;n5064      type uint32;
6746      description5065      description
6747        "Update Gen ResumeWalk start version";5066        "Update Gen ResumeWalk start version";
6748    }5067    }
6749    leaf bmp-upd-gen-resume-end-version {5068    leaf bmp-upd-gen-resume-end-version {
n6750      type uint64;n5069      type uint32;
6751      description5070      description
6752        "Update Gen ResumeWalk end version";5071        "Update Gen ResumeWalk end version";
6753    }5072    }
6754    leaf bmp-upd-gen-walk-stopped {5073    leaf bmp-upd-gen-walk-stopped {
6755      type boolean;5074      type boolean;
6756      description5075      description
6757        "Update Gen WalkStopped";5076        "Update Gen WalkStopped";
6758    }5077    }
6759    leaf bmp-upd-gen-resume-net-version {5078    leaf bmp-upd-gen-resume-net-version {
n6760      type uint64;n5079      type uint32;
6761      description5080      description
6762        "Update Gen ResumeWalk Net version";5081        "Update Gen ResumeWalk Net version";
6763    }5082    }
6764    leaf bmp-upd-gen-walk-run-time-stamp {5083    leaf bmp-upd-gen-walk-run-time-stamp {
6765      type uint64;5084      type uint64;
6766      description5085      description
6767        "Last Update Gen Run time stamp";5086        "Last Update Gen Run time stamp";
6768    }5087    }
6769    leaf bmp-upd-gen-walk-run-count {5088    leaf bmp-upd-gen-walk-run-count {
6770      type uint64;5089      type uint64;
6771      description5090      description
6772        "Number of times Update Gen ran";5091        "Number of times Update Gen ran";
6773    }5092    }
6774    leaf bmp-upd-gen-walk-stop-time-stamp {5093    leaf bmp-upd-gen-walk-stop-time-stamp {
6775      type uint64;5094      type uint64;
6776      description5095      description
6777        "Last Update Gen Stop time stamp";5096        "Last Update Gen Stop time stamp";
6778    }5097    }
6779    leaf bmp-upd-gen-walk-stop-count {5098    leaf bmp-upd-gen-walk-stop-count {
6780      type uint64;5099      type uint64;
6781      description5100      description
6782        "Number of times Update Gen Stopped";5101        "Number of times Update Gen Stopped";
6783    }5102    }
6784    leaf bmp-init-eor-end-version {5103    leaf bmp-init-eor-end-version {
n6785      type uint64;n5104      type uint32;
6786      description5105      description
6787        "Version to reach to send EOR";5106        "Version to reach to send EOR";
6788    }5107    }
6789    leaf bmp-init-eor-pending-cnt {5108    leaf bmp-init-eor-pending-cnt {
6790      type uint32;5109      type uint32;
6791      description5110      description
6792        "Count for pending EOR";5111        "Count for pending EOR";
6793    }5112    }
6794    leaf bmp-filter-neighbor-address-set {5113    leaf bmp-filter-neighbor-address-set {
6795      type boolean;5114      type boolean;
6796      description5115      description
6797        "Filter Neighbor Address Set ?";5116        "Filter Neighbor Address Set ?";
6798    }5117    }
6799    leaf bmp-filter-nbr-cnt {5118    leaf bmp-filter-nbr-cnt {
6800      type uint32;5119      type uint32;
6801      description5120      description
6802        "Filter nbr Count for this AFI";5121        "Filter nbr Count for this AFI";
6803    }5122    }
6804    leaf bmp-send-version {5123    leaf bmp-send-version {
n6805      type uint64;n5124      type uint32;
6806      description5125      description
6807        "Table Version that this BMP server has caught5126        "Table Version that this BMP server has caught
6808         upto";5127         upto";
n6809    }n
6810    leaf bmp-local-rib-afi-scan-time {
6811      type uint32;
6812      units "second";
6813      description
6814        "BMP Local-RIB AFI specific scanner interval in
6815         seconds";
6816    }5128    }
6817  }5129  }
68185130
6819  grouping BGP-BMP-SRVR-BAG {5131  grouping BGP-BMP-SRVR-BAG {
6820    description5132    description
6821      "BMP Server Details";5133      "BMP Server Details";
6822    container bmp-server-state-age {5134    container bmp-server-state-age {
6823      description5135      description
6824        "Age of current state of BMP Server";5136        "Age of current state of BMP Server";
6825      uses BGP-TIMESPEC;5137      uses BGP-TIMESPEC;
6826    }5138    }
6827    container bmp-server-state-time-spec {5139    container bmp-server-state-time-spec {
6828      description5140      description
6829        "Timespec of current state of BMP Server";5141        "Timespec of current state of BMP Server";
6830      uses BGP-TIMESPEC;5142      uses BGP-TIMESPEC;
6831    }5143    }
6832    container bmp-server-last-discon-time {5144    container bmp-server-last-discon-time {
6833      description5145      description
6834        "Timespec of Last Disconnect event received from5146        "Timespec of Last Disconnect event received from
6835         BMP server";5147         BMP server";
6836      uses BGP-TIMESPEC;5148      uses BGP-TIMESPEC;
6837    }5149    }
6838    container update-source-address {5150    container update-source-address {
6839      description5151      description
6840        "Address of Interface configured as Update Source";5152        "Address of Interface configured as Update Source";
6841      uses BGP-ADDRTYPE;5153      uses BGP-ADDRTYPE;
6842    }5154    }
6843    leaf bmp-server-id {5155    leaf bmp-server-id {
6844      type uint8;5156      type uint8;
6845      description5157      description
6846        "BMP Server ID";5158        "BMP Server ID";
6847    }5159    }
6848    leaf bmp-server-host-name {5160    leaf bmp-server-host-name {
6849      type string;5161      type string;
6850      description5162      description
6851        "BMP Server Hostname";5163        "BMP Server Hostname";
6852    }5164    }
6853    leaf bmp-server-port {5165    leaf bmp-server-port {
6854      type uint32;5166      type uint32;
6855      description5167      description
6856        "BMP Server Port Number";5168        "BMP Server Port Number";
6857    }5169    }
6858    leaf bmp-server-state {5170    leaf bmp-server-state {
6859      type Bgp-bmp-state;5171      type Bgp-bmp-state;
6860      description5172      description
6861        "Connection state of the BMP server";5173        "Connection state of the BMP server";
6862    }5174    }
6863    leaf bmp-server-is-flapping {5175    leaf bmp-server-is-flapping {
6864      type boolean;5176      type boolean;
6865      description5177      description
6866        "Connection to the BMP server Flapping";5178        "Connection to the BMP server Flapping";
6867    }5179    }
6868    leaf bmp-server-nbr-count {5180    leaf bmp-server-nbr-count {
6869      type uint32;5181      type uint32;
6870      description5182      description
6871        "Neighbor count for the BMP Server";5183        "Neighbor count for the BMP Server";
6872    }5184    }
6873    leaf bmp-init-msg-count {5185    leaf bmp-init-msg-count {
6874      type uint32;5186      type uint32;
6875      description5187      description
6876        "Number of Initiation Msgs sent by this BMP5188        "Number of Initiation Msgs sent by this BMP
6877         Server";5189         Server";
6878    }5190    }
6879    leaf bmp-termination-msg-count {5191    leaf bmp-termination-msg-count {
6880      type uint32;5192      type uint32;
6881      description5193      description
6882        "Number of Termination Messages sent by this BMP5194        "Number of Termination Messages sent by this BMP
6883         Server";5195         Server";
6884    }5196    }
6885    leaf bmp-status-report-count {5197    leaf bmp-status-report-count {
6886      type uint32;5198      type uint32;
6887      description5199      description
6888        "Number of Status ReportMessages sent by this BMP5200        "Number of Status ReportMessages sent by this BMP
6889         Server";5201         Server";
6890    }5202    }
6891    leaf bmp-per-peer-msg-count {5203    leaf bmp-per-peer-msg-count {
6892      type uint32;5204      type uint32;
6893      description5205      description
6894        "Total number of per peer messages sent";5206        "Total number of per peer messages sent";
6895    }5207    }
6896    leaf bmp-peer-msg-drop-count {5208    leaf bmp-peer-msg-drop-count {
6897      type uint32;5209      type uint32;
6898      description5210      description
6899        "Total number of messages dropped";5211        "Total number of messages dropped";
6900    }5212    }
6901    leaf bmp-peer-msg-pending-count {5213    leaf bmp-peer-msg-pending-count {
6902      type uint32;5214      type uint32;
6903      description5215      description
6904        "Total number of bmpQ msgs pending";5216        "Total number of bmpQ msgs pending";
6905    }5217    }
6906    leaf tos-type {5218    leaf tos-type {
6907      type uint8;5219      type uint8;
6908      description5220      description
6909        "Precedence (0) or DSCP (1) type";5221        "Precedence (0) or DSCP (1) type";
6910    }5222    }
6911    leaf tos-value {5223    leaf tos-value {
6912      type uint8;5224      type uint8;
6913      description5225      description
6914        "Precedence or DSCP value";5226        "Precedence or DSCP value";
6915    }5227    }
6916    leaf update-source-interface-name {5228    leaf update-source-interface-name {
6917      type string;5229      type string;
6918      description5230      description
6919        "Interface configured as Update Source";5231        "Interface configured as Update Source";
6920    }5232    }
6921    leaf update-source-vrf-id {5233    leaf update-source-vrf-id {
6922      type uint32;5234      type uint32;
6923      description5235      description
6924        "VRF ID of interface configured as Update Source";5236        "VRF ID of interface configured as Update Source";
6925    }5237    }
6926    leaf bmp-vrf-name {5238    leaf bmp-vrf-name {
6927      type string;5239      type string;
6928      description5240      description
6929        "VRF Name configured";5241        "VRF Name configured";
6930    }5242    }
6931    leaf bmp-vrf-id {5243    leaf bmp-vrf-id {
6932      type uint32;5244      type uint32;
6933      description5245      description
6934        "VRF ID for the vrf name configured";5246        "VRF ID for the vrf name configured";
6935    }5247    }
6936    leaf bmp-update-mode {5248    leaf bmp-update-mode {
6937      type Bgp-bmp-upd-mode;5249      type Bgp-bmp-upd-mode;
6938      description5250      description
6939        "Update sending mode configured for this BMP5251        "Update sending mode configured for this BMP
n6940         server. This field is deprecated";n5252         server";
6941    }
6942    leaf bmp-update-modes-bitmap {
6943      type uint32;
6944      description
6945        "Bitmap with bits corresponding toUpdate sending
6946         modes configured";
6947    }5253    }
6948    leaf tcp-keep-alive-interval {5254    leaf tcp-keep-alive-interval {
6949      type uint32;5255      type uint32;
6950      description5256      description
6951        "TCP Keep alive interval configured";5257        "TCP Keep alive interval configured";
6952    }5258    }
6953    leaf tcp-maximum-segment-size {5259    leaf tcp-maximum-segment-size {
6954      type uint32;5260      type uint32;
6955      description5261      description
6956        "TCP Maximum Segments size configured";5262        "TCP Maximum Segments size configured";
6957    }5263    }
6958    leaf tcp-write-cb-pending {5264    leaf tcp-write-cb-pending {
6959      type uint32;5265      type uint32;
6960      description5266      description
6961        "Are we waiting for TCP write callback ?";5267        "Are we waiting for TCP write callback ?";
6962    }5268    }
6963    leaf tcp-last-write-result {5269    leaf tcp-last-write-result {
6964      type uint32;5270      type uint32;
6965      description5271      description
6966        "Last TCP Socket write status";5272        "Last TCP Socket write status";
6967    }5273    }
6968    leaf tcp-last-write-cb-time {5274    leaf tcp-last-write-cb-time {
6969      type uint64;5275      type uint64;
6970      description5276      description
6971        "Last TCP Write CB time";5277        "Last TCP Write CB time";
6972    }5278    }
6973    leaf tcp-last-write-time {5279    leaf tcp-last-write-time {
6974      type uint64;5280      type uint64;
6975      description5281      description
6976        "Last TCP Write time";5282        "Last TCP Write time";
6977    }5283    }
6978    leaf bmpq-last-write-pulse-sent-time {5284    leaf bmpq-last-write-pulse-sent-time {
6979      type uint64;5285      type uint64;
6980      description5286      description
6981        "Last BMPQ write pulse Sent time";5287        "Last BMPQ write pulse Sent time";
6982    }5288    }
6983    leaf bmpq-last-all-write-pulse-sent-time {5289    leaf bmpq-last-all-write-pulse-sent-time {
6984      type uint64;5290      type uint64;
6985      description5291      description
6986        "Last BMPQ write pulse Sent for all BMP servers ";5292        "Last BMPQ write pulse Sent for all BMP servers ";
6987    }5293    }
6988    leaf bmpq-last-write-pulse-cb-time {5294    leaf bmpq-last-write-pulse-cb-time {
6989      type uint64;5295      type uint64;
6990      description5296      description
6991        "Last BMPQ write pulse callback time";5297        "Last BMPQ write pulse callback time";
6992    }5298    }
6993    leaf path-update-count {5299    leaf path-update-count {
6994      type uint32;5300      type uint32;
6995      description5301      description
6996        "Number of path update sent ";5302        "Number of path update sent ";
6997    }5303    }
6998    leaf path-withdraw-count {5304    leaf path-withdraw-count {
6999      type uint32;5305      type uint32;
7000      description5306      description
7001        "Number of path wdraw sent";5307        "Number of path wdraw sent";
7002    }5308    }
7003    leaf path-update-drop {5309    leaf path-update-drop {
7004      type uint32;5310      type uint32;
7005      description5311      description
7006        "Number of path update drop ";5312        "Number of path update drop ";
7007    }5313    }
7008    leaf path-withdraw-drop {5314    leaf path-withdraw-drop {
7009      type uint32;5315      type uint32;
7010      description5316      description
7011        "Number of path wdraw drop ";5317        "Number of path wdraw drop ";
7012    }5318    }
7013    leaf bmp-peer-msg-pending-count-max {5319    leaf bmp-peer-msg-pending-count-max {
7014      type uint32;5320      type uint32;
7015      description5321      description
7016        "Total bmpQ msgs pending max";5322        "Total bmpQ msgs pending max";
7017    }5323    }
7018    leaf bmp-peer-msg-pending-count-hwts {5324    leaf bmp-peer-msg-pending-count-hwts {
7019      type uint64;5325      type uint64;
7020      description5326      description
7021        "Total bmpQ msgs pending max time";5327        "Total bmpQ msgs pending max time";
7022    }5328    }
7023    leaf bmp-bytes-written-tcp {5329    leaf bmp-bytes-written-tcp {
7024      type uint64;5330      type uint64;
7025      units "byte";5331      units "byte";
7026      description5332      description
7027        "Total bytes sent to TCP";5333        "Total bytes sent to TCP";
7028    }5334    }
7029    leaf tcp-write-time {5335    leaf tcp-write-time {
7030      type uint32;5336      type uint32;
7031      units "millisecond";5337      units "millisecond";
7032      description5338      description
7033        "Time spent processing sending msg to5339        "Time spent processing sending msg to
7034         TCP(milliseconds)";5340         TCP(milliseconds)";
7035    }5341    }
7036    leaf bmpr-mon-upd-messages {5342    leaf bmpr-mon-upd-messages {
7037      type uint32;5343      type uint32;
7038      description5344      description
7039        "Total bmpQ update msgs ";5345        "Total bmpQ update msgs ";
7040    }5346    }
7041    leaf bmpr-mon-wdraw-messages {5347    leaf bmpr-mon-wdraw-messages {
7042      type uint32;5348      type uint32;
7043      description5349      description
7044        "Total bmpQ withdraw msgs ";5350        "Total bmpQ withdraw msgs ";
7045    }5351    }
7046    leaf bmp-messages-wdraw-discarded {5352    leaf bmp-messages-wdraw-discarded {
7047      type uint32;5353      type uint32;
7048      description5354      description
7049        "Total bmpQ wdraw msgs discarded because of peer5355        "Total bmpQ wdraw msgs discarded because of peer
7050         down";5356         down";
7051    }5357    }
7052    leaf bmp-pfx-wdraw-discarded {5358    leaf bmp-pfx-wdraw-discarded {
7053      type uint32;5359      type uint32;
7054      description5360      description
7055        "Total bmpQ wdraw pfxes discarded because of peer5361        "Total bmpQ wdraw pfxes discarded because of peer
7056         down";5362         down";
7057    }5363    }
7058    leaf bmp-per-peer-msg-route-mon-count {5364    leaf bmp-per-peer-msg-route-mon-count {
7059      type uint32;5365      type uint32;
7060      description5366      description
7061        "Total number of per peer route mon messages sent";5367        "Total number of per peer route mon messages sent";
7062    }5368    }
7063    leaf bmpr-mon-update-gen-time {5369    leaf bmpr-mon-update-gen-time {
7064      type uint32;5370      type uint32;
7065      units "millisecond";5371      units "millisecond";
7066      description5372      description
7067        "Time spent in update generation(milliseconds)";5373        "Time spent in update generation(milliseconds)";
7068    }5374    }
7069    leaf bmpr-mon-eo-rmessages {5375    leaf bmpr-mon-eo-rmessages {
7070      type uint32;5376      type uint32;
7071      description5377      description
7072        "Total bmpQ EOR update msgs ";5378        "Total bmpQ EOR update msgs ";
7073    }5379    }
7074    leaf bmp-rmon-cur-buffer-size {5380    leaf bmp-rmon-cur-buffer-size {
7075      type uint64;5381      type uint64;
7076      description5382      description
7077        "Current Buffer usage per BMP Route Mon";5383        "Current Buffer usage per BMP Route Mon";
7078    }5384    }
7079    leaf bmp-maximum-buffer-size-route-mon {5385    leaf bmp-maximum-buffer-size-route-mon {
7080      type uint64;5386      type uint64;
7081      description5387      description
7082        "Buffer limit used for route mon";5388        "Buffer limit used for route mon";
7083    }5389    }
7084    leaf bmp-server-up-count {5390    leaf bmp-server-up-count {
7085      type uint32;5391      type uint32;
7086      description5392      description
7087        "Number of BMP server that are UP";5393        "Number of BMP server that are UP";
7088    }5394    }
7089    leaf bmp-upd-gen-in-progress {5395    leaf bmp-upd-gen-in-progress {
7090      type boolean;5396      type boolean;
7091      description5397      description
7092        "Update generation in progress";5398        "Update generation in progress";
7093    }5399    }
7094    leaf bmp-reset-walk-in-progress {5400    leaf bmp-reset-walk-in-progress {
7095      type boolean;5401      type boolean;
7096      description5402      description
n7097        "Flag to indicate if BGP monitoring protocoln
7098         server reset walk is in progress";5403        "Reset walk in progress";
7099    }
7100    leaf bmp-in-post-pol-advertisement-interval-sec {
7101      type uint32;
7102      units "second";
7103      description
7104        "BMP Inbound Post-Policy advertisement interval
7105         seconds";
7106    }
7107    leaf bmp-in-post-pol-advertisement-interval-msec {
7108      type uint32;
7109      units "millisecond";
7110      description
7111        "BMP Inbound Post-Policy advertisement interval
7112         milliseconds";
7113    }
7114    leaf bmp-in-post-pol-scan-time {
7115      type uint32;
7116      units "second";
7117      description
7118        "BMP scanner interval in seconds";
7119    }
7120    leaf bmp-local-rib-advertisement-interval-sec {
7121      type uint32;
7122      units "second";
7123      description
7124        "BMP Local-RIB advertisement interval seconds";
7125    }
7126    leaf bmp-local-rib-advertisement-interval-msec {
7127      type uint32;
7128      units "millisecond";
7129      description
7130        "BMP Local-RIB advertisement interval
7131         milliseconds";
7132    }
7133    leaf bmp-local-rib-scan-time {
7134      type uint32;
7135      units "second";
7136      description
7137        "BMP Local-RIB scanner interval in seconds";
7138    }
7139    leaf bmp-flapping-delay {
7140      type uint16;
7141      units "second";
7142      description
7143        "BMP Flapping Delay in seconds";
7144    }
7145    leaf bmp-initial-delay {
7146      type uint16;
7147      units "second";
7148      description
7149        "BMP Initial Delay in seconds";
7150    }
7151    leaf bmp-initial-refresh-delay {
7152      type uint16;
7153      units "second";
7154      description
7155        "BMP Initial Refresh Delay in seconds";
7156    }
7157    leaf bmp-initial-refresh-spread {
7158      type uint16;
7159      units "second";
7160      description
7161        "BMP Initial Refresh Spread in seconds";
7162    }
7163    leaf bmp-stats-reporting-time-delay {
7164      type uint16;
7165      units "second";
7166      description
7167        "BMP Stats Reporting Time in seconds";
7168    }5404    }
7169    list bmpafi-info {5405    list bmpafi-info {
7170      description5406      description
7171        "AFI specific info for BMP server";5407        "AFI specific info for BMP server";
7172      uses BGP-BMP-SRVR-AFI;5408      uses BGP-BMP-SRVR-AFI;
7173    }5409    }
7174  }5410  }
71755411
7176  grouping BGP-UPDFILTER-ELEM-BAG {5412  grouping BGP-UPDFILTER-ELEM-BAG {
7177    description5413    description
7178      "BGP Update filtering element information";5414      "BGP Update filtering element information";
7179    leaf update-attribute-flags {5415    leaf update-attribute-flags {
7180      type uint8;5416      type uint8;
7181      description5417      description
7182        "Attribute Flags [RFC4271: BGP4]";5418        "Attribute Flags [RFC4271: BGP4]";
7183    }5419    }
7184    leaf update-attribute-code {5420    leaf update-attribute-code {
7185      type uint8;5421      type uint8;
7186      description5422      description
7187        "Attribute code [RFC4271: BGP4]";5423        "Attribute code [RFC4271: BGP4]";
7188    }5424    }
7189    leaf update-filter-action {5425    leaf update-filter-action {
7190      type Bgp-bag-upd-filter-action;5426      type Bgp-bag-upd-filter-action;
7191      description5427      description
7192        "Filtering action";5428        "Filtering action";
7193    }5429    }
7194  }5430  }
71955431
7196  grouping BGP-UPDFILTER-MSG-BAG {5432  grouping BGP-UPDFILTER-MSG-BAG {
7197    description5433    description
7198      "BGP Update filter message information";5434      "BGP Update filter message information";
7199    container update-filter-message-timestamp {5435    container update-filter-message-timestamp {
7200      description5436      description
7201        "Message timestamp: time elapsed since 00:00:005437        "Message timestamp: time elapsed since 00:00:00
7202         UTC, January 1, 1970";5438         UTC, January 1, 1970";
7203      uses BGP-TIMESPEC;5439      uses BGP-TIMESPEC;
7204    }5440    }
7205    leaf update-filtered-attribute-count {5441    leaf update-filtered-attribute-count {
7206      type uint32;5442      type uint32;
7207      description5443      description
n7208        "Total number of attributes filtered inn5444        "Filtered attributes count";
7209         thismessage";
7210    }5445    }
7211    leaf update-filter-final-action {5446    leaf update-filter-final-action {
7212      type Bgp-bag-upd-filter-action;5447      type Bgp-bag-upd-filter-action;
7213      description5448      description
7214        "Filtering final action";5449        "Filtering final action";
7215    }5450    }
7216    leaf update-filter-nlri-address-family {5451    leaf update-filter-nlri-address-family {
7217      type Bgp-afi;5452      type Bgp-afi;
7218      description5453      description
7219        "NLRI address-family";5454        "NLRI address-family";
7220    }5455    }
7221    leaf update-filter-nlri-string {5456    leaf update-filter-nlri-string {
7222      type string;5457      type string;
7223      description5458      description
7224        "List of NLRIs in string format";5459        "List of NLRIs in string format";
7225    }5460    }
7226    leaf update-filter-nlri-string-truncated {5461    leaf update-filter-nlri-string-truncated {
7227      type boolean;5462      type boolean;
7228      description5463      description
7229        "Indicates whether NLRI string was truncated due5464        "Indicates whether NLRI string was truncated due
7230         to lack of space";5465         to lack of space";
7231    }5466    }
7232    list update-filter-message-data {5467    list update-filter-message-data {
7233      description5468      description
7234        "Raw Message data in binary format";5469        "Raw Message data in binary format";
7235      leaf entry {5470      leaf entry {
7236        type uint8;5471        type uint8;
7237        description5472        description
7238          "Raw Message data in binary format";5473          "Raw Message data in binary format";
7239      }5474      }
7240    }5475    }
7241    list update-filter-element {5476    list update-filter-element {
7242      max-elements "3";5477      max-elements "3";
7243      description5478      description
7244        "Filtering element list";5479        "Filtering element list";
7245      uses BGP-UPDFILTER-ELEM-BAG;5480      uses BGP-UPDFILTER-ELEM-BAG;
7246    }5481    }
7247  }5482  }
72485483
7249  grouping BGP-UPDFILTER-ATTRF-ATTR-BAG {5484  grouping BGP-UPDFILTER-ATTRF-ATTR-BAG {
7250    description5485    description
7251      "BGP Update filtering attributes information";5486      "BGP Update filtering attributes information";
7252    container last-update-filter-match-timestamp {5487    container last-update-filter-match-timestamp {
7253      description5488      description
7254        "Last attribute filtered time: time elapsed since5489        "Last attribute filtered time: time elapsed since
7255         00:00:00 UTC, January 1, 1970";5490         00:00:00 UTC, January 1, 1970";
7256      uses BGP-TIMESPEC;5491      uses BGP-TIMESPEC;
7257    }5492    }
7258    leaf update-internal-attribute-code {5493    leaf update-internal-attribute-code {
7259      type uint32;5494      type uint32;
7260      description5495      description
7261        "Internal attribute code [RFC4271: BGP4]";5496        "Internal attribute code [RFC4271: BGP4]";
7262    }5497    }
7263    leaf update-filter-action {5498    leaf update-filter-action {
7264      type Bgp-bag-upd-filter-action;5499      type Bgp-bag-upd-filter-action;
7265      description5500      description
7266        "Filtering action";5501        "Filtering action";
7267    }5502    }
7268    leaf update-filter-match-count {5503    leaf update-filter-match-count {
7269      type uint32;5504      type uint32;
7270      description5505      description
7271        "Filter match counter";5506        "Filter match counter";
7272    }5507    }
7273    leaf establishment-update-filter-match-count {5508    leaf establishment-update-filter-match-count {
7274      type uint32;5509      type uint32;
7275      description5510      description
7276        "Filter match counter since last session5511        "Filter match counter since last session
7277         establishment";5512         establishment";
7278    }5513    }
7279    leaf last-update-filter-match-age {5514    leaf last-update-filter-match-age {
7280      type uint32;5515      type uint32;
7281      units "second";5516      units "second";
7282      description5517      description
7283        "Time since this attribute was last filtered (in5518        "Time since this attribute was last filtered (in
7284         seconds)";5519         seconds)";
7285    }5520    }
7286  }5521  }
72875522
7288  grouping BGP-UPDFILTER-NBR-BAG {5523  grouping BGP-UPDFILTER-NBR-BAG {
7289    description5524    description
7290      "BGP Update filtering Neighbor information";5525      "BGP Update filtering Neighbor information";
7291    container update-neighbor-address {5526    container update-neighbor-address {
7292      description5527      description
7293        "Neighbor address";5528        "Neighbor address";
7294      uses BGP-ADDRTYPE;5529      uses BGP-ADDRTYPE;
7295    }5530    }
7296    container first-update-filtered-timestamp {5531    container first-update-filtered-timestamp {
7297      description5532      description
7298        "First filtered message received time: time5533        "First filtered message received time: time
7299         elapsed since 00:00:00 UTC, January 1, 1970";5534         elapsed since 00:00:00 UTC, January 1, 1970";
7300      uses BGP-TIMESPEC;5535      uses BGP-TIMESPEC;
7301    }5536    }
7302    container last-update-filtered-timestamp {5537    container last-update-filtered-timestamp {
7303      description5538      description
7304        "Last filtered message received time: time5539        "Last filtered message received time: time
7305         elapsed since 00:00:00 UTC, January 1, 1970";5540         elapsed since 00:00:00 UTC, January 1, 1970";
7306      uses BGP-TIMESPEC;5541      uses BGP-TIMESPEC;
7307    }5542    }
7308    leaf update-vrf-name {5543    leaf update-vrf-name {
7309      type string;5544      type string;
7310      description5545      description
7311        "VRF Name";5546        "VRF Name";
7312    }5547    }
7313    leaf update-filter-logging-enabled {5548    leaf update-filter-logging-enabled {
7314      type boolean;5549      type boolean;
7315      description5550      description
7316        "Logging is enabled";5551        "Logging is enabled";
7317    }5552    }
7318    leaf configured-update-filter-message-buffer-count {5553    leaf configured-update-filter-message-buffer-count {
7319      type uint32;5554      type uint32;
7320      description5555      description
n7321        "Total number of configured update filtern5556        "Configured Filtered message buffer count";
7322         messagebuffer size";
7323    }5557    }
7324    leaf operational-update-filter-message-buffer-count {5558    leaf operational-update-filter-message-buffer-count {
7325      type uint32;5559      type uint32;
7326      description5560      description
n7327        "Number of messages in the message buffer";n5561        "Operational Filtered messages buffer count";
7328    }5562    }
7329    leaf update-filter-message-buffer-circular {5563    leaf update-filter-message-buffer-circular {
7330      type boolean;5564      type boolean;
7331      description5565      description
7332        "Indicates if the message buffers are circular";5566        "Indicates if the message buffers are circular";
7333    }5567    }
7334    leaf update-attribute-filter-group-name {5568    leaf update-attribute-filter-group-name {
7335      type string;5569      type string;
7336      description5570      description
n7337        "String format BGP attribute-filter group name";n5571        "Update attribute-filter group name";
7338    }5572    }
7339    leaf operational-update-attribute-filtering-enabled {5573    leaf operational-update-attribute-filtering-enabled {
7340      type boolean;5574      type boolean;
7341      description5575      description
7342        "Attribute filtering is enabled";5576        "Attribute filtering is enabled";
7343    }5577    }
7344    leaf message-update-attribute-filtering-enabled {5578    leaf message-update-attribute-filtering-enabled {
7345      type boolean;5579      type boolean;
7346      description5580      description
7347        "Attribute filtering is enabled for the current5581        "Attribute filtering is enabled for the current
7348         message being parsed";5582         message being parsed";
7349    }5583    }
7350    leaf total-filter-update-message-count {5584    leaf total-filter-update-message-count {
7351      type uint32;5585      type uint32;
7352      description5586      description
n7353        "Total number of filtered messages encoutered";n5587        "Total update messages count";
7354    }5588    }
7355    leaf establishment-total-filter-update-message-count {5589    leaf establishment-total-filter-update-message-count {
7356      type uint32;5590      type uint32;
7357      description5591      description
7358        "Total update messages count since session5592        "Total update messages count since session
7359         establishment";5593         establishment";
7360    }5594    }
7361    leaf update-filtered-message-count {5595    leaf update-filtered-message-count {
7362      type uint32;5596      type uint32;
7363      description5597      description
n7364        "Total number of filtered messages encountered son5598        "Filtered messages count";
7365         far";
7366    }5599    }
7367    leaf establishment-update-filtered-message-count {5600    leaf establishment-update-filtered-message-count {
7368      type uint32;5601      type uint32;
7369      description5602      description
7370        "Filtered messages count since session5603        "Filtered messages count since session
7371         establishment";5604         establishment";
7372    }5605    }
7373    leaf last-update-filtered-age {5606    leaf last-update-filtered-age {
7374      type uint32;5607      type uint32;
7375      units "second";5608      units "second";
7376      description5609      description
7377        "Time since last filtered message received event5610        "Time since last filtered message received event
7378         (in seconds)";5611         (in seconds)";
7379    }5612    }
7380    leaf update-filter-message-list-count {5613    leaf update-filter-message-list-count {
7381      type uint32;5614      type uint32;
7382      description5615      description
7383        "Filtered messages list count";5616        "Filtered messages list count";
7384    }5617    }
7385    list update-attribute-filter-attributes {5618    list update-attribute-filter-attributes {
7386      description5619      description
7387        "List of attributes that can be filtered";5620        "List of attributes that can be filtered";
7388      uses BGP-UPDFILTER-ATTRF-ATTR-BAG;5621      uses BGP-UPDFILTER-ATTRF-ATTR-BAG;
7389    }5622    }
7390    list update-filter-message {5623    list update-filter-message {
7391      description5624      description
7392        "List of filtered messages";5625        "List of filtered messages";
7393      uses BGP-UPDFILTER-MSG-BAG;5626      uses BGP-UPDFILTER-MSG-BAG;
7394    }5627    }
7395  }5628  }
73965629
7397  grouping BGP-UPDERR-ELEM-BAG {5630  grouping BGP-UPDERR-ELEM-BAG {
7398    description5631    description
7399      "BGP Update error-handling element information";5632      "BGP Update error-handling element information";
7400    leaf update-attribute-flags {5633    leaf update-attribute-flags {
7401      type uint8;5634      type uint8;
7402      description5635      description
7403        "Attribute Flags [RFC4271: BGP4]";5636        "Attribute Flags [RFC4271: BGP4]";
7404    }5637    }
7405    leaf update-attribute-code {5638    leaf update-attribute-code {
7406      type uint8;5639      type uint8;
7407      description5640      description
7408        "Attribute code [RFC4271: BGP4]";5641        "Attribute code [RFC4271: BGP4]";
7409    }5642    }
7410    leaf update-attribute-length {5643    leaf update-attribute-length {
7411      type uint16;5644      type uint16;
7412      description5645      description
7413        "Attribute Length [RFC4271: BGP4]";5646        "Attribute Length [RFC4271: BGP4]";
7414    }5647    }
7415    leaf update-error-data {5648    leaf update-error-data {
7416      type yang:hex-string;5649      type yang:hex-string;
7417      description5650      description
7418        "Error data";5651        "Error data";
7419    }5652    }
7420    leaf update-error-data-length {5653    leaf update-error-data-length {
7421      type uint16;5654      type uint16;
7422      description5655      description
7423        "Error data length";5656        "Error data length";
7424    }5657    }
7425    leaf update-error-action {5658    leaf update-error-action {
7426      type Bgp-bag-upd-err-action;5659      type Bgp-bag-upd-err-action;
7427      description5660      description
7428        "Error action";5661        "Error action";
7429    }5662    }
7430  }5663  }
74315664
7432  grouping BGP-UPDERR-RESET-DATA-BAG {5665  grouping BGP-UPDERR-RESET-DATA-BAG {
7433    description5666    description
7434      "BGP Update error-handling session reset5667      "BGP Update error-handling session reset
7435       information";5668       information";
7436    leaf update-error-reset-reason {5669    leaf update-error-reset-reason {
7437      type Bgp-reset-reason-index;5670      type Bgp-reset-reason-index;
7438      description5671      description
7439        "Reset Reason";5672        "Reset Reason";
7440    }5673    }
7441    leaf update-error-reset-notification-code {5674    leaf update-error-reset-notification-code {
7442      type uint8;5675      type uint8;
7443      description5676      description
7444        "Notification code";5677        "Notification code";
7445    }5678    }
7446    leaf update-error-reset-notification-sub-code {5679    leaf update-error-reset-notification-sub-code {
7447      type uint16;5680      type uint16;
7448      description5681      description
7449        "Notification sub code";5682        "Notification sub code";
7450    }5683    }
7451    leaf update-error-reset-notification-data {5684    leaf update-error-reset-notification-data {
7452      type yang:hex-string;5685      type yang:hex-string;
7453      description5686      description
7454        "Notification data";5687        "Notification data";
7455    }5688    }
7456    leaf update-error-reset-notification-data-length {5689    leaf update-error-reset-notification-data-length {
7457      type uint16;5690      type uint16;
7458      description5691      description
7459        "Notification data length";5692        "Notification data length";
7460    }5693    }
7461  }5694  }
74625695
7463  grouping BGP-UPDERR-MSG-BAG {5696  grouping BGP-UPDERR-MSG-BAG {
7464    description5697    description
7465      "BGP Update error message information";5698      "BGP Update error message information";
7466    container update-message-timestamp {5699    container update-message-timestamp {
7467      description5700      description
7468        "Message timestamp: time elapsed since 00:00:005701        "Message timestamp: time elapsed since 00:00:00
7469         UTC, January 1, 1970";5702         UTC, January 1, 1970";
7470      uses BGP-TIMESPEC;5703      uses BGP-TIMESPEC;
7471    }5704    }
7472    container update-message-reset-data {5705    container update-message-reset-data {
7473      description5706      description
7474        "Reset data";5707        "Reset data";
7475      uses BGP-UPDERR-RESET-DATA-BAG;5708      uses BGP-UPDERR-RESET-DATA-BAG;
7476    }5709    }
7477    leaf update-error-final-action {5710    leaf update-error-final-action {
7478      type Bgp-bag-upd-err-action;5711      type Bgp-bag-upd-err-action;
7479      description5712      description
7480        "Error final action";5713        "Error final action";
7481    }5714    }
7482    leaf update-attribute-discard-count {5715    leaf update-attribute-discard-count {
7483      type uint32;5716      type uint32;
7484      description5717      description
7485        "Discarded attribute count";5718        "Discarded attribute count";
7486    }5719    }
7487    leaf update-error-nlri-address-family {5720    leaf update-error-nlri-address-family {
7488      type Bgp-afi;5721      type Bgp-afi;
7489      description5722      description
7490        "NLRI address-family";5723        "NLRI address-family";
7491    }5724    }
7492    leaf update-error-nlri-string {5725    leaf update-error-nlri-string {
7493      type string;5726      type string;
7494      description5727      description
7495        "List of NLRIs in string format";5728        "List of NLRIs in string format";
7496    }5729    }
7497    leaf update-error-nlri-string-truncated {5730    leaf update-error-nlri-string-truncated {
7498      type boolean;5731      type boolean;
7499      description5732      description
7500        "Indicates whether NLRI string was truncated due5733        "Indicates whether NLRI string was truncated due
7501         to lack of space";5734         to lack of space";
7502    }5735    }
7503    list update-message-data {5736    list update-message-data {
7504      description5737      description
7505        "Raw Message data in binary format";5738        "Raw Message data in binary format";
7506      leaf entry {5739      leaf entry {
7507        type uint8;5740        type uint8;
7508        description5741        description
7509          "Raw Message data in binary format";5742          "Raw Message data in binary format";
7510      }5743      }
7511    }5744    }
7512    list update-error-element {5745    list update-error-element {
7513      max-elements "3";5746      max-elements "3";
7514      description5747      description
7515        "Error element list";5748        "Error element list";
7516      uses BGP-UPDERR-ELEM-BAG;5749      uses BGP-UPDERR-ELEM-BAG;
7517    }5750    }
7518  }5751  }
75195752
7520  grouping BGP-UPDERR-NBR-BAG {5753  grouping BGP-UPDERR-NBR-BAG {
7521    description5754    description
7522      "BGP Update error-handling Neighbor information";5755      "BGP Update error-handling Neighbor information";
7523    container update-neighbor-address {5756    container update-neighbor-address {
7524      description5757      description
7525        "Neighbor address";5758        "Neighbor address";
7526      uses BGP-ADDRTYPE;5759      uses BGP-ADDRTYPE;
7527    }5760    }
7528    container first-update-malformed-timestamp {5761    container first-update-malformed-timestamp {
7529      description5762      description
7530        "First malformed message received time: time5763        "First malformed message received time: time
7531         elapsed since 00:00:00 UTC, January 1, 1970";5764         elapsed since 00:00:00 UTC, January 1, 1970";
7532      uses BGP-TIMESPEC;5765      uses BGP-TIMESPEC;
7533    }5766    }
7534    container last-update-malformed-timestamp {5767    container last-update-malformed-timestamp {
7535      description5768      description
7536        "Last malformed message received time: time5769        "Last malformed message received time: time
7537         elapsed since 00:00:00 UTC, January 1, 1970";5770         elapsed since 00:00:00 UTC, January 1, 1970";
7538      uses BGP-TIMESPEC;5771      uses BGP-TIMESPEC;
7539    }5772    }
7540    container first-update-memory-allocation-fail-timestamp {5773    container first-update-memory-allocation-fail-timestamp {
7541      description5774      description
7542        "First memory allocation failure time: time5775        "First memory allocation failure time: time
7543         elapsed since 00:00:00 UTC, January 1, 1970";5776         elapsed since 00:00:00 UTC, January 1, 1970";
7544      uses BGP-TIMESPEC;5777      uses BGP-TIMESPEC;
7545    }5778    }
7546    container last-update-memory-allocation-fail-timestamp {5779    container last-update-memory-allocation-fail-timestamp {
7547      description5780      description
7548        "Last memory allocation failure time: time5781        "Last memory allocation failure time: time
7549         elapsed since 00:00:00 UTC, January 1, 1970";5782         elapsed since 00:00:00 UTC, January 1, 1970";
7550      uses BGP-TIMESPEC;5783      uses BGP-TIMESPEC;
7551    }5784    }
7552    container first-update-error-handling-reset-timestamp {5785    container first-update-error-handling-reset-timestamp {
7553      description5786      description
7554        "First error-handling reset time: time elapsed5787        "First error-handling reset time: time elapsed
7555         since 00:00:00 UTC, January 1, 1970";5788         since 00:00:00 UTC, January 1, 1970";
7556      uses BGP-TIMESPEC;5789      uses BGP-TIMESPEC;
7557    }5790    }
7558    container last-error-handling-reset-timestamp {5791    container last-error-handling-reset-timestamp {
7559      description5792      description
7560        "Last error-handling reset time: time elapsed5793        "Last error-handling reset time: time elapsed
7561         since 00:00:00 UTC, January 1, 1970";5794         since 00:00:00 UTC, January 1, 1970";
7562      uses BGP-TIMESPEC;5795      uses BGP-TIMESPEC;
7563    }5796    }
7564    leaf update-vrf-name {5797    leaf update-vrf-name {
7565      type string;5798      type string;
7566      description5799      description
7567        "VRF Name";5800        "VRF Name";
7568    }5801    }
7569    leaf update-error-handling-avoid-reset {5802    leaf update-error-handling-avoid-reset {
7570      type boolean;5803      type boolean;
7571      description5804      description
7572        "Configure error-handling to avoid resets";5805        "Configure error-handling to avoid resets";
7573    }5806    }
7574    leaf total-update-message-count {5807    leaf total-update-message-count {
7575      type uint32;5808      type uint32;
7576      description5809      description
n7577        "The total number of update messages encouteredn5810        "Total update messages count";
7578         so far";
7579    }5811    }
7580    leaf update-malformed-message-count {5812    leaf update-malformed-message-count {
7581      type uint32;5813      type uint32;
7582      description5814      description
n7583        "The toatl number of malform update messages son5815        "Malformed messages count";
7584         far";
7585    }5816    }
7586    leaf last-update-malformed-age {5817    leaf last-update-malformed-age {
7587      type uint32;5818      type uint32;
7588      units "second";5819      units "second";
7589      description5820      description
7590        "Time since last malformed message received event5821        "Time since last malformed message received event
7591         (in seconds)";5822         (in seconds)";
7592    }5823    }
7593    leaf update-memory-allocation-fail-count {5824    leaf update-memory-allocation-fail-count {
7594      type uint32;5825      type uint32;
7595      description5826      description
n7596        "Total number of memory allocation failures";n5827        "Memory allocation failure count";
7597    }5828    }
7598    leaf last-update-memory-allocation-fail-age {5829    leaf last-update-memory-allocation-fail-age {
7599      type uint32;5830      type uint32;
7600      units "second";5831      units "second";
7601      description5832      description
7602        "Time since last memory allocation failure event5833        "Time since last memory allocation failure event
7603         (in seconds)";5834         (in seconds)";
7604    }5835    }
7605    leaf update-error-handling-reset-count {5836    leaf update-error-handling-reset-count {
7606      type uint32;5837      type uint32;
7607      description5838      description
n7608        "Total number of neighbor reset due ton5839        "Error-handling reset count";
7609         error-handling";
7610    }5840    }
7611    leaf last-error-handling-reset-age {5841    leaf last-error-handling-reset-age {
7612      type uint32;5842      type uint32;
7613      units "second";5843      units "second";
7614      description5844      description
7615        "Time since last error-handling reset event (in5845        "Time since last error-handling reset event (in
7616         seconds)";5846         seconds)";
7617    }5847    }
7618    leaf update-error-message-list-count {5848    leaf update-error-message-list-count {
7619      type uint32;5849      type uint32;
7620      description5850      description
7621        "Malformed messages list count";5851        "Malformed messages list count";
7622    }5852    }
7623    leaf update-attribute-discard-count {5853    leaf update-attribute-discard-count {
7624      type uint32;5854      type uint32;
7625      description5855      description
7626        "Discarded attribute count";5856        "Discarded attribute count";
7627    }5857    }
7628    leaf establishment-total-update-message-count {5858    leaf establishment-total-update-message-count {
7629      type uint32;5859      type uint32;
7630      description5860      description
7631        "Total update messages count since session5861        "Total update messages count since session
7632         establishment";5862         establishment";
n7633    }n
7634    leaf update-error-handling-treat-as-withdraw {
7635      type boolean;
7636      description
7637        "Error-handling set to treat as withdraw";
7638    }5863    }
7639    list establishment-action-count {5864    list establishment-action-count {
7640      max-elements "7";5865      max-elements "7";
7641      description5866      description
7642        "Number of occurence of each action type since5867        "Number of occurence of each action type since
7643         5868         
7644         session establishment";5869         session establishment";
7645      leaf entry {5870      leaf entry {
7646        type uint32;5871        type uint32;
7647        description5872        description
7648          "Number of occurence of each action type since5873          "Number of occurence of each action type since
7649           5874           
7650           session establishment";5875           session establishment";
7651      }5876      }
7652    }5877    }
7653    list update-error-message {5878    list update-error-message {
7654      description5879      description
7655        "List of malformed messages";5880        "List of malformed messages";
7656      uses BGP-UPDERR-MSG-BAG;5881      uses BGP-UPDERR-MSG-BAG;
7657    }5882    }
7658  }5883  }
76595884
7660  grouping BGP-GLOBAL-PROCESS-INFO-VRF {5885  grouping BGP-GLOBAL-PROCESS-INFO-VRF {
7661    description5886    description
7662      "BGP GLOBAL PROCESS INFO VRF";5887      "BGP GLOBAL PROCESS INFO VRF";
7663    leaf vrf-is-active {5888    leaf vrf-is-active {
7664      type boolean;5889      type boolean;
7665      description5890      description
7666        "VRF state";5891        "VRF state";
7667    }5892    }
7668    leaf route-distinguisher {5893    leaf route-distinguisher {
7669      type yang:hex-string;5894      type yang:hex-string;
7670      description5895      description
n7671        "BGP global process route distinguisher";n5896        "Route Distinguisher";
7672    }5897    }
7673    leaf router-id {5898    leaf router-id {
7674      type inet:ipv4-address;5899      type inet:ipv4-address;
7675      description5900      description
7676        "Router ID for the VRF";5901        "Router ID for the VRF";
7677    }5902    }
7678    leaf configured-router-id {5903    leaf configured-router-id {
7679      type inet:ipv4-address;5904      type inet:ipv4-address;
7680      description5905      description
n7681        "BGP global process configured router ID";n5906        "Configured router ID";
7682    }5907    }
7683    leaf is-redistribute-ibgp-to-ig-ps-enabled {5908    leaf is-redistribute-ibgp-to-ig-ps-enabled {
7684      type boolean;5909      type boolean;
7685      description5910      description
7686        "Redistribute iBGP into IGPs enabled";5911        "Redistribute iBGP into IGPs enabled";
7687    }5912    }
7688    leaf is-fast-external-fallover-enabled {5913    leaf is-fast-external-fallover-enabled {
7689      type boolean;5914      type boolean;
7690      description5915      description
n7691        "Flag to indicate if fast external fallover isn5916        "Fast external fallover enabled";
7692         enabled";
7693    }5917    }
7694    leaf is-bestpath-missing-med-is-worst-enabled {5918    leaf is-bestpath-missing-med-is-worst-enabled {
7695      type boolean;5919      type boolean;
7696      description5920      description
7697        "Bestpath: Treat missing MED as worst";5921        "Bestpath: Treat missing MED as worst";
7698    }5922    }
7699    leaf is-bestpath-always-compare-med-enabled {5923    leaf is-bestpath-always-compare-med-enabled {
7700      type boolean;5924      type boolean;
7701      description5925      description
7702        "Bestpath: Always compare MED";5926        "Bestpath: Always compare MED";
7703    }5927    }
7704    leaf is-bestpath-ignore-as-path-enabled {5928    leaf is-bestpath-ignore-as-path-enabled {
7705      type boolean;5929      type boolean;
7706      description5930      description
7707        "Bestpath: Ignore AS path";5931        "Bestpath: Ignore AS path";
7708    }5932    }
7709    leaf is-bestpath-as-path-mpath-relax-enabled {5933    leaf is-bestpath-as-path-mpath-relax-enabled {
7710      type boolean;5934      type boolean;
7711      description5935      description
7712        "Bestpath: Relax AS path for mpath";5936        "Bestpath: Relax AS path for mpath";
7713    }5937    }
7714    leaf is-bestpath-compare-med-from-confed-peer-enabled {5938    leaf is-bestpath-compare-med-from-confed-peer-enabled {
7715      type boolean;5939      type boolean;
7716      description5940      description
7717        "Bestpath: Compare MED from confed peer";5941        "Bestpath: Compare MED from confed peer";
7718    }5942    }
7719    leaf is-bestpath-compare-router-id-for-ebgp-peers-enabled {5943    leaf is-bestpath-compare-router-id-for-ebgp-peers-enabled {
7720      type boolean;5944      type boolean;
7721      description5945      description
7722        "Bestpath: Compare routerID for eBGP peers";5946        "Bestpath: Compare routerID for eBGP peers";
7723    }5947    }
7724    leaf is-bestpath-aigp-ignore-enabled {5948    leaf is-bestpath-aigp-ignore-enabled {
7725      type boolean;5949      type boolean;
7726      description5950      description
7727        "Bestpath: Ignore AIGP unless both paths have5951        "Bestpath: Ignore AIGP unless both paths have
7728         AIGP attribute";5952         AIGP attribute";
7729    }5953    }
7730    leaf is-bestpath-igp-metric-ignore-enabled {5954    leaf is-bestpath-igp-metric-ignore-enabled {
7731      type boolean;5955      type boolean;
7732      description5956      description
7733        "Bestpath: Ignore IGP metric";5957        "Bestpath: Ignore IGP metric";
7734    }5958    }
n7735    leaf is-bestpath-igp-metric-sr-policy-enabled {n
7736      type boolean;
7737      description
7738        "Bestpath: Prefer SR-Policy admin/metric of
7739         color-extcomm Nexthop as IGP metric";
7740    }
7741    leaf is-multipath-as-path-ignore-onwards-enabled {5959    leaf is-multipath-as-path-ignore-onwards-enabled {
7742      type boolean;5960      type boolean;
7743      description5961      description
7744        "Multipath: Ignore everything AS path onwards for5962        "Multipath: Ignore everything AS path onwards for
7745         mpath";5963         mpath";
7746    }5964    }
n7747    leaf is-multipath-section-use-cluster-list-length {n
7748      type boolean;
7749      description
7750        "Multipath: Use Cluster-List Length Criteria";
7751    }
7752    leaf is-bestpath-sr-policy-prefer-enabled {
7753      type boolean;
7754      description
7755        "Bestpath: Prefer SR policy path";
7756    }
7757    leaf is-bestpath-sr-policy-force-enabled {
7758      type boolean;
7759      description
7760        "Bestpath: Force SR policy path";
7761    }
7762    leaf is-enforce-first-as-enabled {5965    leaf is-enforce-first-as-enabled {
7763      type boolean;5966      type boolean;
7764      description5967      description
7765        "Enforce first AS";5968        "Enforce first AS";
7766    }5969    }
7767    leaf default-local-preference {5970    leaf default-local-preference {
7768      type uint32;5971      type uint32;
7769      description5972      description
n7770        "BGP global process default local preference";n5973        "Default local preference";
7771    }5974    }
7772    leaf keep-alive-time {5975    leaf keep-alive-time {
7773      type uint16;5976      type uint16;
7774      units "second";5977      units "second";
7775      description5978      description
7776        "Default keepalive timer (seconds)";5979        "Default keepalive timer (seconds)";
7777    }5980    }
7778    leaf hold-time {5981    leaf hold-time {
7779      type uint16;5982      type uint16;
7780      units "second";5983      units "second";
7781      description5984      description
7782        "Default hold timer (seconds)";5985        "Default hold timer (seconds)";
7783    }5986    }
7784    leaf min-acceptable-hold-time {5987    leaf min-acceptable-hold-time {
7785      type uint16;5988      type uint16;
7786      units "second";5989      units "second";
7787      description5990      description
7788        "Default min acceptable hold time from5991        "Default min acceptable hold time from
7789         neighbor(seconds)";5992         neighbor(seconds)";
7790    }5993    }
7791    leaf is-neighbor-logging {5994    leaf is-neighbor-logging {
7792      type boolean;5995      type boolean;
7793      description5996      description
7794        "Neighbor logging enabled";5997        "Neighbor logging enabled";
7795    }5998    }
7796    leaf is-default-metric-configured {5999    leaf is-default-metric-configured {
7797      type boolean;6000      type boolean;
7798      description6001      description
n7799        "Flag to indicate if default metric is configured";n6002        "Default metric configured";
7800    }6003    }
7801    leaf default-metric {6004    leaf default-metric {
7802      type uint32;6005      type uint32;
7803      description6006      description
n7804        "BGP global process virtual routingand forwardingn
7805         default metric";6007        "Default metric";
7806    }6008    }
7807    leaf is-default-originate-configured {6009    leaf is-default-originate-configured {
7808      type boolean;6010      type boolean;
7809      description6011      description
n7810        "Flag to indicate if default route originate isn6012        "Default route originate configured";
7811         configured";
7812    }6013    }
7813    leaf is-graceful-restart {6014    leaf is-graceful-restart {
7814      type boolean;6015      type boolean;
7815      description6016      description
7816        "Graceful restart enabled";6017        "Graceful restart enabled";
7817    }6018    }
7818    leaf is-nsr {6019    leaf is-nsr {
7819      type boolean;6020      type boolean;
7820      description6021      description
7821        "Non-stop routing enabled";6022        "Non-stop routing enabled";
7822    }6023    }
n7823    leaf slow-peer-global-dynamic {n
7824      type boolean;
7825      description
7826        "Slow peer global dynamic";
7827    }
7828    leaf slow-peer-global-dynamic-threshold {
7829      type uint16;
7830      description
7831        "Slow peer global dynamic threshold (in sec)";
7832    }
7833    leaf slow-peer-global-detection-disabled {
7834      type boolean;
7835      description
7836        "Slow peer global detection disabled";
7837    }
7838    leaf nexthop-validation-disabled {
7839      type boolean;
7840      description
7841        "Color-Extcomm Nexthop validation disabled";
7842    }
7843    leaf nexthop-validation-srte {
7844      type boolean;
7845      description
7846        "Color-Extcomm Nexthop validation SR-Policy";
7847    }
7848    leaf restart-time {6024    leaf restart-time {
7849      type uint32;6025      type uint32;
7850      units "second";6026      units "second";
7851      description6027      description
7852        "Restart time (in seconds)";6028        "Restart time (in seconds)";
7853    }6029    }
7854    leaf stale-path-time {6030    leaf stale-path-time {
7855      type uint32;6031      type uint32;
7856      units "second";6032      units "second";
7857      description6033      description
7858        "Stale path timeout time (in seconds)";6034        "Stale path timeout time (in seconds)";
7859    }6035    }
7860    leaf rib-purge-timeout {6036    leaf rib-purge-timeout {
7861      type uint32;6037      type uint32;
7862      units "second";6038      units "second";
7863      description6039      description
7864        "RIB purge timeout time (in seconds)";6040        "RIB purge timeout time (in seconds)";
7865    }6041    }
7866    leaf rpki-use-validity {6042    leaf rpki-use-validity {
7867      type boolean;6043      type boolean;
7868      description6044      description
7869        "Use RPKI validity for bestpath calculation";6045        "Use RPKI validity for bestpath calculation";
7870    }6046    }
7871    leaf rpki-allow-invalid {6047    leaf rpki-allow-invalid {
7872      type boolean;6048      type boolean;
7873      description6049      description
7874        "Allow invalid paths";6050        "Allow invalid paths";
7875    }6051    }
7876    leaf rpki-signal-ibgp {6052    leaf rpki-signal-ibgp {
7877      type boolean;6053      type boolean;
7878      description6054      description
7879        "Signal RPKI validity to iBGP peers";6055        "Signal RPKI validity to iBGP peers";
n7880    }n
7881    leaf last-insert-reset-queue {
7882      type uint64;
7883      description
7884        "Time when this neighbor was last inserted in
7885         reset queue";
7886    }
7887    leaf last-remove-reset-queue {
7888      type uint64;
7889      description
7890        "Time when this neighbor was last removed from
7891         reset queue";
7892    }6056    }
7893  }6057  }
78946058
7895  grouping COLOR-ID-BAG {6059  grouping COLOR-ID-BAG {
7896    description6060    description
7897      "COLOR ID BAG";6061      "COLOR ID BAG";
7898    leaf color-id-val {6062    leaf color-id-val {
7899      type uint32;6063      type uint32;
7900      description6064      description
7901        "Color ID ";6065        "Color ID ";
7902    }6066    }
n7903    leaf flags {n
7904      type uint32;
7905      description
7906        "Color ID Flags";
7907    }
7908    leaf odn-policy-type {
7909      type Bgp-odn-policy;
7910      description
7911        "Color ID ODN Policy Type";
7912    }
7913  }6067  }
79146068
7915  grouping CLUSTER-ID-BAG {6069  grouping CLUSTER-ID-BAG {
7916    description6070    description
7917      "CLUSTER ID BAG";6071      "CLUSTER ID BAG";
7918    leaf cluster-id-val {6072    leaf cluster-id-val {
7919      type uint32;6073      type uint32;
7920      description6074      description
7921        "Cluster ID ";6075        "Cluster ID ";
7922    }6076    }
7923    leaf cluster-id-type {6077    leaf cluster-id-type {
7924      type uint8;6078      type uint8;
7925      description6079      description
7926        "Cluster ID type: number or IPv4 address";6080        "Cluster ID type: number or IPv4 address";
7927    }6081    }
7928  }6082  }
79296083
7930  grouping BGP-GLOBAL-PROCESS-INFO-GBL {6084  grouping BGP-GLOBAL-PROCESS-INFO-GBL {
7931    description6085    description
7932      "BGP GLOBAL PROCESS INFO GBL";6086      "BGP GLOBAL PROCESS INFO GBL";
n7933    container gshut-nbr-all-ts {n
7934      description
7935        "BGP gshut nbr all timestamp";
7936      uses BGP-TIMESPEC;
7937    }
7938    container gshut-nbr-all-age {
7939      description
7940        "BGP gshut nbr all age";
7941      uses BGP-TIMESPEC;
7942    }
7943    leaf in-standalone-mode {6087    leaf in-standalone-mode {
7944      type boolean;6088      type boolean;
7945      description6089      description
7946        "Standalone or Distributed mode";6090        "Standalone or Distributed mode";
7947    }6091    }
7948    leaf local-as {6092    leaf local-as {
7949      type uint32;6093      type uint32;
7950      description6094      description
7951        "Local autonomous system number";6095        "Local autonomous system number";
7952    }6096    }
7953    leaf instance-name {6097    leaf instance-name {
7954      type string;6098      type string;
7955      description6099      description
7956        "Name of BGP instance";6100        "Name of BGP instance";
n7957    }n
7958    leaf platform-max-multi-paths {
7959      type uint32;
7960      description
7961        "Platform supported maximum multi-path count";
7962    }6101    }
7963    leaf restart-count {6102    leaf restart-count {
7964      type uint32;6103      type uint32;
7965      description6104      description
7966        "No of times BGP has started";6105        "No of times BGP has started";
7967    }6106    }
7968    leaf update-delay {6107    leaf update-delay {
7969      type uint32;6108      type uint32;
7970      units "second";6109      units "second";
7971      description6110      description
7972        "Update delay timeout time (in seconds)";6111        "Update delay timeout time (in seconds)";
7973    }6112    }
7974    leaf generic-scan-period {6113    leaf generic-scan-period {
7975      type uint16;6114      type uint16;
7976      units "second";6115      units "second";
7977      description6116      description
7978        "Period (in seconds) of generic scanner runs";6117        "Period (in seconds) of generic scanner runs";
7979    }6118    }
7980    leaf confederation-id {6119    leaf confederation-id {
7981      type uint32;6120      type uint32;
7982      description6121      description
n7983        "BGP global process confederation ID";n6122        "Confederation ID";
7984    }6123    }
7985    leaf cluster-id {6124    leaf cluster-id {
7986      type uint32;6125      type uint32;
7987      description6126      description
7988        "Cluster ID";6127        "Cluster ID";
7989    }6128    }
7990    leaf configured-cluster-id {6129    leaf configured-cluster-id {
7991      type uint32;6130      type uint32;
7992      description6131      description
n7993        "BGP global process configuredcluster ID";n6132        "Configured cluster ID";
7994    }6133    }
7995    leaf is-cluster-id-specified-as-ip {6134    leaf is-cluster-id-specified-as-ip {
7996      type boolean;6135      type boolean;
7997      description6136      description
7998        "Cluster ID specified as an IP address";6137        "Cluster ID specified as an IP address";
7999    }6138    }
8000    leaf asn-format {6139    leaf asn-format {
8001      type uint32;6140      type uint32;
8002      description6141      description
8003        "BGP AS Number Format";6142        "BGP AS Number Format";
8004    }6143    }
8005    leaf srgb-start-configured {6144    leaf srgb-start-configured {
8006      type uint32;6145      type uint32;
8007      description6146      description
8008        "Configured segment-routing Global Block start6147        "Configured segment-routing Global Block start
8009         value";6148         value";
8010    }6149    }
8011    leaf srgb-end-configured {6150    leaf srgb-end-configured {
8012      type uint32;6151      type uint32;
8013      description6152      description
8014        "Configured segment-routing Global Block end6153        "Configured segment-routing Global Block end
8015         value";6154         value";
8016    }6155    }
8017    leaf srgb-start {6156    leaf srgb-start {
8018      type uint32;6157      type uint32;
8019      description6158      description
8020        "In use segment-routing Global Block start value";6159        "In use segment-routing Global Block start value";
8021    }6160    }
8022    leaf srgb-end {6161    leaf srgb-end {
8023      type uint32;6162      type uint32;
8024      description6163      description
8025        "In use Segment-routing Global Block end value";6164        "In use Segment-routing Global Block end value";
8026    }6165    }
n8027    leaf srlb-start-configured {n
8028      type uint32;
8029      description
8030        "Configured segment-routing Local Block start
8031         value";
8032    }
8033    leaf srlb-end-configured {
8034      type uint32;
8035      description
8036        "Configured segment-routing Local Block end value";
8037    }
8038    leaf srlb-start {
8039      type uint32;
8040      description
8041        "In use segment-routing Local Block start value";
8042    }
8043    leaf srlb-end {
8044      type uint32;
8045      description
8046        "In use Segment-routing Local Block end value";
8047    }
8048    leaf mix-srte-native {
8049      type boolean;
8050      description
8051        "Platform support mix of SR-TE and Native IGP
8052         Nexthop";
8053    }
8054    leaf graceful-maintenance {6166    leaf graceful-maintenance {
8055      type boolean;6167      type boolean;
8056      description6168      description
n8057        "Graceful shutdown activated for allneighbors";n6169        "Graceful Maintenance";
8058    }6170    }
8059    leaf graceful-maint-all-nbrs {6171    leaf graceful-maint-all-nbrs {
8060      type boolean;6172      type boolean;
8061      description6173      description
8062        "Graceful Maintenance also for neighbors without6174        "Graceful Maintenance also for neighbors without
8063         GM configuration";6175         GM configuration";
8064    }6176    }
8065    leaf graceful-maint-retain-routes {6177    leaf graceful-maint-retain-routes {
8066      type boolean;6178      type boolean;
8067      description6179      description
8068        "Retaining routes in RIB when BGP process stops6180        "Retaining routes in RIB when BGP process stops
8069         while in Graceful Maintenance";6181         while in Graceful Maintenance";
8070    }6182    }
8071    leaf process-rlimit {6183    leaf process-rlimit {
8072      type uint64;6184      type uint64;
8073      description6185      description
8074        "Platform RLIMIT max for the process";6186        "Platform RLIMIT max for the process";
8075    }6187    }
8076    leaf bmp-maximum-buffer-size {6188    leaf bmp-maximum-buffer-size {
8077      type uint64;6189      type uint64;
8078      description6190      description
8079        "Maximum limit user can configure for6191        "Maximum limit user can configure for
8080         max-buffer-size command under bmp-server";6192         max-buffer-size command under bmp-server";
8081    }6193    }
8082    leaf bmp-default-buffer-size {6194    leaf bmp-default-buffer-size {
8083      type uint64;6195      type uint64;
8084      description6196      description
8085        "Default value for BMP buffer limit when a value6197        "Default value for BMP buffer limit when a value
8086         is not configured";6198         is not configured";
8087    }6199    }
8088    leaf bmp-current-buffer-size {6200    leaf bmp-current-buffer-size {
8089      type uint64;6201      type uint64;
8090      description6202      description
8091        "Current value for BMP buffer ";6203        "Current value for BMP buffer ";
8092    }6204    }
8093    leaf bmp-cur-maximum-buffer-size {6205    leaf bmp-cur-maximum-buffer-size {
8094      type uint64;6206      type uint64;
8095      description6207      description
8096        "Maximum limit user has configure using6208        "Maximum limit user has configure using
8097         max-buffer-size command under bmp-server";6209         max-buffer-size command under bmp-server";
n8098    }n
8099    leaf gbl-srv6-locator {
8100      type string;
8101      description
8102        "Global Srv6 Locator Name";
8103    }
8104    leaf gbl-usid-alloc-mode {
8105      type Bgp-usid-alloc-mode;
8106      description
8107        "Global uSID LIB allocation mode";
8108    }
8109    leaf lpts-secure-binding {
8110      type boolean;
8111      description
8112        "Enable LPTS secure binding for eBGP
8113         directly-connected neighbor";
8114    }6210    }
8115    list cluster-id-entry {6211    list cluster-id-entry {
8116      description6212      description
8117        "All configured Cluster IDs";6213        "All configured Cluster IDs";
8118      uses CLUSTER-ID-BAG;6214      uses CLUSTER-ID-BAG;
8119    }6215    }
8120    list color-id {6216    list color-id {
8121      description6217      description
8122        "All configured Color IDs";6218        "All configured Color IDs";
8123      uses COLOR-ID-BAG;6219      uses COLOR-ID-BAG;
8124    }6220    }
8125  }6221  }
81266222
8127  grouping BGP-GLOBAL-PROCESS-INFO-BAG {6223  grouping BGP-GLOBAL-PROCESS-INFO-BAG {
8128    description6224    description
8129      "BGP process information common to all BGP6225      "BGP process information common to all BGP
8130       processes";6226       processes";
8131    container global {6227    container global {
8132      description6228      description
8133        "Global information";6229        "Global information";
8134      uses BGP-GLOBAL-PROCESS-INFO-GBL;6230      uses BGP-GLOBAL-PROCESS-INFO-GBL;
8135    }6231    }
8136    container vrf {6232    container vrf {
8137      description6233      description
8138        "VRF information";6234        "VRF information";
8139      uses BGP-GLOBAL-PROCESS-INFO-VRF;6235      uses BGP-GLOBAL-PROCESS-INFO-VRF;
8140    }6236    }
8141    leaf vrf-name {6237    leaf vrf-name {
8142      type string;6238      type string;
8143      description6239      description
8144        "Name of the VRF";6240        "Name of the VRF";
8145    }6241    }
8146    leaf vrfid {6242    leaf vrfid {
8147      type uint32;6243      type uint32;
8148      description6244      description
8149        "VRF ID";6245        "VRF ID";
8150    }6246    }
8151  }6247  }
81526248
8153  grouping BGP-POSTIT-INFO {6249  grouping BGP-POSTIT-INFO {
8154    description6250    description
8155      "BGP POSTIT INFO";6251      "BGP POSTIT INFO";
8156    container postit-notification {6252    container postit-notification {
8157      description6253      description
n8158        "Time since last notification was sent orn6254        "Postit notification";
8159         received";
8160      uses BGP-NOTFNTYPE;6255      uses BGP-NOTFNTYPE;
8161    }6256    }
8162    leaf postit-type {6257    leaf postit-type {
8163      type uint32;6258      type uint32;
8164      description6259      description
n8165        "Type of the event for post-it";n6260        "Postit Type";
8166    }6261    }
8167    leaf postit-subtype {6262    leaf postit-subtype {
8168      type uint32;6263      type uint32;
8169      description6264      description
n8170        "BGP Postit Subtype";n6265        "Postit Subtype";
8171    }6266    }
8172    leaf postit-flags {6267    leaf postit-flags {
8173      type uint8;6268      type uint8;
8174      description6269      description
n8175        "Flags associated with post-it";n6270        "Postit Flags";
8176    }6271    }
8177    leaf postit-af-name {6272    leaf postit-af-name {
8178      type Bgp-afi;6273      type Bgp-afi;
8179      description6274      description
8180        "Postit Afi";6275        "Postit Afi";
8181    }6276    }
8182    leaf postit-ts {6277    leaf postit-ts {
8183      type uint64;6278      type uint64;
8184      description6279      description
8185        "Postit TS";6280        "Postit TS";
8186    }6281    }
8187    leaf postit-direction {6282    leaf postit-direction {
8188      type uint8;6283      type uint8;
8189      description6284      description
n8190        "BGP postit inbound oroutbound direction";n6285        "Postit Direction";
8191    }6286    }
8192    leaf postit-id {6287    leaf postit-id {
8193      type uint32;6288      type uint32;
8194      description6289      description
8195        "Postit ID";6290        "Postit ID";
8196    }6291    }
8197    leaf peer-id {6292    leaf peer-id {
8198      type uint32;6293      type uint32;
8199      description6294      description
8200        "Peer ID";6295        "Peer ID";
8201    }6296    }
8202    leaf postit-policy {6297    leaf postit-policy {
8203      type string;6298      type string;
8204      description6299      description
8205        "Policy";6300        "Policy";
8206    }6301    }
8207    leaf postit-reset {6302    leaf postit-reset {
8208      type Bgp-reset-reason-index;6303      type Bgp-reset-reason-index;
8209      description6304      description
8210        "Reset";6305        "Reset";
8211    }6306    }
8212  }6307  }
82136308
8214  grouping BGP-NEIGHBOR-NSR-BAG {6309  grouping BGP-NEIGHBOR-NSR-BAG {
8215    description6310    description
8216      "BGP neighbor nsr bag";6311      "BGP neighbor nsr bag";
8217    container neighbors-address {6312    container neighbors-address {
8218      description6313      description
8219        "Neighbor Addr";6314        "Neighbor Addr";
8220      uses BGP-ADDRTYPE;6315      uses BGP-ADDRTYPE;
8221    }6316    }
8222    leaf vrf-name {6317    leaf vrf-name {
8223      type string;6318      type string;
8224      description6319      description
8225        "VRF Name";6320        "VRF Name";
8226    }6321    }
8227    leaf connect-state {6322    leaf connect-state {
8228      type uint32;6323      type uint32;
8229      description6324      description
8230        "State";6325        "State";
8231    }6326    }
8232    leaf start-time {6327    leaf start-time {
8233      type uint32;6328      type uint32;
8234      description6329      description
8235        "StartTime";6330        "StartTime";
8236    }6331    }
8237    leaf nsr-state {6332    leaf nsr-state {
8238      type Bgp-sync-nbr-nsr-state;6333      type Bgp-sync-nbr-nsr-state;
8239      description6334      description
8240        "NSR state";6335        "NSR state";
8241    }6336    }
8242    list neighbor-af {6337    list neighbor-af {
8243      min-elements 25;6338      min-elements 25;
8244      max-elements "25";6339      max-elements "25";
8245      description6340      description
8246        "Neighbor Afi";6341        "Neighbor Afi";
8247      leaf entry {6342      leaf entry {
8248        type boolean;6343        type boolean;
8249        description6344        description
8250          "Array entry.";6345          "Array entry.";
8251      }6346      }
8252    }6347    }
8253    list postit-info {6348    list postit-info {
8254      description6349      description
n8255        "BGP neighbor postit rounting information";n6350        "Postit Info";
8256      uses BGP-POSTIT-INFO;6351      uses BGP-POSTIT-INFO;
8257    }6352    }
8258  }6353  }
82596354
8260  grouping BGP-UPDFILTER-VRF-BAG {6355  grouping BGP-UPDFILTER-VRF-BAG {
8261    description6356    description
8262      "BGP Update filtering VRF information";6357      "BGP Update filtering VRF information";
8263    container last-update-filtered-timestamp {6358    container last-update-filtered-timestamp {
8264      description6359      description
8265        "Last Filtered messages received time: time6360        "Last Filtered messages received time: time
8266         elapsed since 00:00:00 UTC, January 1, 1970";6361         elapsed since 00:00:00 UTC, January 1, 1970";
8267      uses BGP-TIMESPEC;6362      uses BGP-TIMESPEC;
8268    }6363    }
8269    leaf update-vrf-name {6364    leaf update-vrf-name {
8270      type string;6365      type string;
8271      description6366      description
8272        "VRF Name";6367        "VRF Name";
8273    }6368    }
8274    leaf update-filtered-message-count {6369    leaf update-filtered-message-count {
8275      type uint32;6370      type uint32;
8276      description6371      description
n8277        "Number of filtered messages";n6372        "Filtered messages count";
8278    }6373    }
8279    leaf update-filtered-neighbor-count {6374    leaf update-filtered-neighbor-count {
8280      type uint32;6375      type uint32;
8281      description6376      description
8282        "Count of neighbors that received filtered6377        "Count of neighbors that received filtered
8283         messages";6378         messages";
8284    }6379    }
8285    leaf last-update-filtered-age {6380    leaf last-update-filtered-age {
8286      type uint32;6381      type uint32;
8287      units "second";6382      units "second";
8288      description6383      description
8289        "Time since last filtered messages received event6384        "Time since last filtered messages received event
8290         (in seconds)";6385         (in seconds)";
8291    }6386    }
8292  }6387  }
82936388
8294  grouping BGP-VRF-INFO-BAG {6389  grouping BGP-VRF-INFO-BAG {
8295    description6390    description
8296      "BGP VRF information bag";6391      "BGP VRF information bag";
8297    leaf route-distinguisher {6392    leaf route-distinguisher {
8298      type xr:Route-dist;6393      type xr:Route-dist;
8299      description6394      description
n8300        "BGP virtual routing and forwardingrouten
8301         distinguisher";6395        "Route Distinguisher";
8302    }6396    }
8303  }6397  }
83046398
8305  grouping BGP-PFXLST {6399  grouping BGP-PFXLST {
8306    description6400    description
8307      "Prefix list entry";6401      "Prefix list entry";
8308    list bgp-pfxlst {6402    list bgp-pfxlst {
8309      description6403      description
n8310        "Next entry in prefix list";n6404        "bgp pfxlst";
8311      container bgp-prefix {6405      container bgp-prefix {
8312        description6406        description
8313          "BGP prefix";6407          "BGP prefix";
8314        uses BGP-PREFIXTYPE;6408        uses BGP-PREFIXTYPE;
8315      }6409      }
8316      leaf sequence-number {6410      leaf sequence-number {
8317        type uint32;6411        type uint32;
8318        description6412        description
n8319          "Sequence number of the entry in the prefix-list";n6413          "Sequence number";
8320      }6414      }
8321      leaf is-prefix-grant {6415      leaf is-prefix-grant {
8322        type boolean;6416        type boolean;
8323        description6417        description
8324          "TRUE = permit, FALSE = deny";6418          "TRUE = permit, FALSE = deny";
8325      }6419      }
8326      leaf min-prefix-length {6420      leaf min-prefix-length {
8327        type uint8;6421        type uint8;
n8328        units "bit";n
8329        description6422        description
n8330          "Minimum prefix length in bits";n6423          "Minimum prefix length";
8331      }6424      }
8332      leaf max-prefix-length {6425      leaf max-prefix-length {
8333        type uint8;6426        type uint8;
n8334        units "bit";n
8335        description6427        description
n8336          "Maximum prefix length in bits";n6428          "Maximum prefix length";
8337      }6429      }
8338    }6430    }
8339  }6431  }
83406432
8341  grouping BGP-RCV-PFXLST-BAG {6433  grouping BGP-RCV-PFXLST-BAG {
8342    description6434    description
8343      "Received prefix filter";6435      "Received prefix filter";
8344    container neighbor-address-xr {6436    container neighbor-address-xr {
8345      description6437      description
8346        "Neighbor Address";6438        "Neighbor Address";
8347      uses BGP-ADDRTYPE;6439      uses BGP-ADDRTYPE;
8348    }6440    }
8349    container prefix-list-info {6441    container prefix-list-info {
8350      description6442      description
8351        "Prefix list";6443        "Prefix list";
8352      uses BGP-PFXLST;6444      uses BGP-PFXLST;
8353    }6445    }
8354    leaf af-name {6446    leaf af-name {
8355      type Bgp-afi;6447      type Bgp-afi;
8356      description6448      description
8357        "Address family identfier";6449        "Address family identfier";
8358    }6450    }
8359  }6451  }
83606452
n8361  grouping BGP-DEP-ENTRY-INFO {n6453  grouping BGP-UPDGEN-AF-BAG {
6454    description
6455      "BGP Update generation address-family information";
6456    container update-statistics {
8362    description6457      description
8363      "BGP DEP ENTRY INFO";6458        "Upate statistics";
8364    leaf tblid {6459      uses BGP-UPDGEN-STATS-BAG;
6460    }
6461    leaf update-group-af-name {
6462      type Bgp-afi;
6463      description
6464        "Address family identifier";
6465    }
6466    leaf update-main-table-version {
6467      type uint32;
6468      description
6469        "Main table version";
6470    }
6471    leaf update-rib-version {
6472      type uint32;
6473      description
6474        "RIB version";
6475    }
6476    leaf update-min-neighbor-version {
6477      type uint32;
6478      description
6479        "Minimum Neighbor version";
6480    }
6481    leaf current-update-limit-af {
6482      type uint32;
6483      description
6484        "Current AF update limit";
6485    }
6486    leaf configured-update-limit-af {
6487      type uint32;
6488      description
6489        "Configured AF update limit";
6490    }
6491    leaf current-update-limit-subgrp-ebgp {
6492      type uint32;
6493      description
6494        "Current EBGP sub-group update limit";
6495    }
6496    leaf configured-update-limit-subgrp-ebgp {
6497      type uint32;
6498      description
6499        "Configured EBGP sub-group update limit";
6500    }
6501    leaf current-update-limit-sub-group-ibgp {
6502      type uint32;
6503      description
6504        "Current IBGP sub-group update limit";
6505    }
6506    leaf configured-update-limit-sub-group-ibgp {
6507      type uint32;
6508      description
6509        "Configured IBGP sub-group update limit";
6510    }
6511    leaf update-out-queue-messages {
6512      type uint32;
6513      description
6514        "OutQueue messsages";
6515    }
6516    leaf update-out-queue-size {
6517      type uint32;
6518      description
6519        "OutQueue size";
6520    }
6521    leaf update-throttled {
6522      type boolean;
6523      description
6524        "Is Update throttled";
6525    }
6526    leaf update-update-group-count {
6527      type uint32;
6528      description
6529        "Update-group count";
6530    }
6531    leaf update-sub-group-count {
6532      type uint32;
6533      description
6534        "Sub-group count";
6535    }
6536    leaf sub-group-throttled-count {
6537      type uint32;
6538      description
6539        "Throttled sub-group count";
6540    }
6541    leaf refresh-sub-group-count {
6542      type uint32;
6543      description
6544        "Refresh sub-group count";
6545    }
6546    leaf refresh-sub-group-throttled-count {
6547      type uint32;
6548      description
6549        "Throttled refresh sub-group count";
6550    }
6551    leaf filter-group-count {
6552      type uint32;
6553      description
6554        "Filter-group count";
6555    }
6556    leaf neighbor-count {
6557      type uint32;
6558      description
6559        "Neighbor count";
6560    }
6561    leaf update-table-vrf-name {
6562      type string;
6563      description
6564        "VRF Name";
6565    }
6566    leaf update-vrfaf-name {
6567      type uint32;
6568      description
6569        "Address family identifier";
6570    }
6571    leaf update-vrf-rd-version {
6572      type uint32;
6573      description
6574        "RD Version";
6575    }
6576    leaf update-vrf-table-rib-version {
6577      type uint32;
6578      description
6579        "VRF Table RIB version";
6580    }
6581    leaf table-update-group-count {
6582      type uint32;
6583      description
6584        "VRF Table update-group count";
6585    }
6586    leaf update-table-sub-group-count {
6587      type uint32;
6588      description
6589        "VRF Table sub-group count";
6590    }
6591    leaf table-sub-group-throttled-count {
6592      type uint32;
6593      description
6594        "VRF Table throttled sub-group count";
6595    }
6596    leaf table-refresh-sub-group-count {
6597      type uint32;
6598      description
6599        "VRF Table refresh sub-group count";
6600    }
6601    leaf table-refresh-sub-group-throttled-count {
6602      type uint32;
6603      description
6604        "VRF Table throttled refresh sub-group count";
6605    }
6606    leaf update-table-filter-group-count {
6607      type uint32;
6608      description
6609        "VRF Table filter-group count";
6610    }
6611    leaf table-neighbor-count {
6612      type uint32;
6613      description
6614        "VRF Table neighbor count";
6615    }
6616  }
6617 
6618  grouping BGP-UPDGEN-NBR-BAG {
6619    description
6620      "BGP Update generation Neighbor information";
6621    container update-neighbor-address {
6622      description
6623        "Neighbor address";
6624      uses BGP-ADDRTYPE;
6625    }
6626    container last-sub-group-add-timestamp {
6627      description
6628        "Last added time";
6629      uses BGP-TIMESPEC;
6630    }
6631    container last-sub-group-remove-timestamp {
6632      description
6633        "Last removed time";
6634      uses BGP-TIMESPEC;
6635    }
6636    container last-filter-group-add-timestamp {
6637      description
6638        "Last added time";
6639      uses BGP-TIMESPEC;
6640    }
6641    container last-filter-group-remove-timestamp {
6642      description
6643        "Last removed time";
6644      uses BGP-TIMESPEC;
6645    }
6646    container first-default-originate-timestamp {
6647      description
6648        "First default-origination time";
6649      uses BGP-TIMESPEC;
6650    }
6651    container last-default-originate-timestamp {
6652      description
6653        "Last default-origination time";
6654      uses BGP-TIMESPEC;
6655    }
6656    container last-update-group-start-timestamp {
6657      description
6658        "Last update-group timer start";
6659      uses BGP-TIMESPEC;
6660    }
6661    container last-update-group-expiry-timestamp {
6662      description
6663        "Last update-group timer expiry";
6664      uses BGP-TIMESPEC;
6665    }
6666    container first-update-queued-timestamp {
6667      description
6668        "First update queued time";
6669      uses BGP-TIMESPEC;
6670    }
6671    container last-update-queued-timestamp {
6672      description
6673        "Last update queued time";
6674      uses BGP-TIMESPEC;
6675    }
6676    container last-refresh-update-queued-timestamp {
6677      description
6678        "Last refresh update queued time";
6679      uses BGP-TIMESPEC;
6680    }
6681    container first-update-write-timestamp {
6682      description
6683        "First update write time";
6684      uses BGP-TIMESPEC;
6685    }
6686    container last-update-write-timestamp {
6687      description
6688        "Last update write time";
6689      uses BGP-TIMESPEC;
6690    }
6691    container last-refresh-update-write-timestamp {
6692      description
6693        "Last refresh update write time";
6694      uses BGP-TIMESPEC;
6695    }
6696    container update-statistics {
6697      description
6698        "Update statistics";
6699      uses BGP-UPDGEN-STATS-BAG;
6700    }
6701    leaf process-id {
6702      type uint32;
6703      description
6704        "ProcessID";
6705    }
6706    leaf update-vrf-name {
6707      type string;
6708      description
6709        "VRF Name";
6710    }
6711    leaf update-group-af-name {
6712      type Bgp-afi;
6713      description
6714        "Address family identifier";
6715    }
6716    leaf update-filter-group-index {
6717      type uint32;
6718      description
6719        "Filter-group index";
6720    }
6721    leaf refresh-filter-group-index {
6722      type uint32;
6723      description
6724        "Refresh Filter-group index";
6725    }
6726    leaf sub-group-index-xr {
6727      type uint32;
6728      description
6729        "Sub-group index";
6730    }
6731    leaf refresh-sub-group-index {
6732      type uint32;
6733      description
6734        "Refresh Sub-group index";
6735    }
6736    leaf refresh-sub-group-id {
6737      type uint32;
6738      description
6739        "Refresh sub-group ID";
6740    }
6741    leaf update-group-index-xr {
6742      type uint32;
6743      description
6744        "Update-group index";
6745    }
6746    leaf update-main-table-version {
6747      type uint32;
6748      description
6749        "Main table version";
6750    }
6751    leaf update-vrf-table-rib-version {
6752      type uint32;
6753      description
6754        "VRF Table RIB version";
6755    }
6756    leaf update-out-queue-messages {
6757      type uint32;
6758      description
6759        "OutQueue messages";
6760    }
6761    leaf update-out-queue-size {
6762      type uint32;
6763      description
6764        "OutQueue size";
6765    }
6766    leaf refresh-update-out-queue-messages {
6767      type uint32;
6768      description
6769        "Refresh OutQueue messages";
6770    }
6771    leaf refresh-update-out-queue-size {
6772      type uint32;
6773      description
6774        "Refresh OutQueue size";
6775    }
6776    leaf update-filter-group-messages {
6777      type uint32;
6778      description
6779        "Filter-group messages";
6780    }
6781    leaf version {
6782      type uint32;
6783      description
6784        "Version";
6785    }
6786    leaf pending-target-version {
6787      type uint32;
6788      description
6789        "Pending target version";
6790    }
6791    leaf next-resume-version {
6792      type uint32;
6793      description
6794        "Resume version";
6795    }
6796    leaf ack-version {
6797      type uint32;
6798      description
6799        "Ack version";
6800    }
6801    leaf synced-ack-version {
6802      type uint32;
6803      description
6804        "Synced ack version";
6805    }
6806    leaf outstanding-version-count {
6807      type uint32;
6808      description
6809        "Outstanding version count";
6810    }
6811    leaf update-refresh-version {
6812      type uint32;
6813      description
6814        "Refresh version";
6815    }
6816    leaf refresh-requested-target-version {
6817      type uint32;
6818      description
6819        "Requested refresh target version";
6820    }
6821    leaf update-refresh-target-version {
6822      type uint32;
6823      description
6824        "Refresh target version";
6825    }
6826    leaf refresh-pending-target-version {
6827      type uint32;
6828      description
6829        "Pending refresh target version";
6830    }
6831    leaf refresh-next-resume-version {
6832      type uint32;
6833      description
6834        "Refresh resume version";
6835    }
6836    leaf refresh-ack-version {
6837      type uint32;
6838      description
6839        "Refresh Ack version";
6840    }
6841    leaf last-default-originate-age {
6842      type uint32;
6843      units "second";
6844      description
6845        "Time since last default-origination event (in
6846         seconds)";
6847    }
6848    leaf default-originate-state {
8365      type uint32;6849      type int32;
6850      description
6851        "Default-origination state";
6852    }
6853    leaf default-originate-internal-context {
6854      type int32;
6855      description
6856        "Default-origination context";
6857    }
6858    leaf is-eor-outstanding {
6859      type boolean;
6860      description
6861        "Number of EORs outstanding";
6862    }
6863    leaf outbound-refresh-count {
6864      type uint32;
6865      description
6866        "Refresh Outbound count";
6867    }
6868    leaf inbound-refresh-count {
6869      type uint32;
6870      description
6871        "Refresh Inbound count";
6872    }
6873    leaf is-update-group-timer-running {
6874      type boolean;
6875      description
6876        "Is update-group timer running";
6877    }
6878    leaf current-update-group-af-name {
6879      type Bgp-afi;
6880      description
6881        "Current Update-group address-family identifier";
6882    }
6883    leaf last-update-group-af-name {
6884      type Bgp-afi;
6885      description
6886        "Last Update-group address-family identifier";
6887    }
6888    leaf last-update-queued-age {
6889      type uint32;
6890      units "second";
6891      description
6892        "Time since last update queued event (in seconds)";
6893    }
6894    leaf last-refresh-update-queued-age {
6895      type uint32;
6896      units "second";
6897      description
6898        "Time since last refresh update queued event (in
6899         seconds)";
6900    }
6901    leaf last-update-write-age {
6902      type uint32;
6903      units "second";
6904      description
6905        "Time since last update write event (in seconds)";
6906    }
6907    leaf last-refresh-update-write-age {
6908      type uint32;
6909      units "second";
6910      description
6911        "Time since last refresh update write event (in
6912         seconds)";
6913    }
6914  }
6915 
6916  grouping BGP-NBR-GSHUT {
6917    description
6918      "BGP NBR GSHUT";
6919    leaf gshut-exists {
6920      type boolean;
6921      description
6922        "Graceful Maintenance enabled";
6923    }
6924    leaf gshut-local-active {
6925      type boolean;
6926      description
6927        "Graceful Maintenance locally activated";
6928    }
6929    leaf gshut-active {
6930      type boolean;
6931      description
6932        "Graceful Maintenance activated";
6933    }
6934    leaf gshut-locpref-set {
6935      type boolean;
6936      description
6937        "Graceful Maintenance Local Preference set";
6938    }
6939    leaf gshut-locpref {
6940      type uint32;
6941      description
6942        "Graceful Maintenance Local Preference";
6943    }
6944    leaf gshut-prepends {
6945      type uint8;
6946      description
6947        "Graceful Maintenance number of AS prepends";
6948    }
6949  }
6950 
6951  grouping BGP-NBR-MSG-STATS-UNIT {
6952    description
6953      "BGP NBR MSG STATS UNIT";
6954    container last-time-spec {
6955      description
6956        "Last timespec";
6957      uses BGP-TIMESPEC;
6958    }
6959    leaf count {
6960      type uint32;
6961      description
6962        "Count";
6963    }
6964  }
6965 
6966  grouping BGP-NBR-MSG-STATS-OP {
6967    description
6968      "BGP NBR MSG STATS OP";
6969    container tx {
6970      description
6971        "Transmit";
6972      uses BGP-NBR-MSG-STATS-UNIT;
6973    }
6974    container rx {
6975      description
6976        "Receive";
6977      uses BGP-NBR-MSG-STATS-UNIT;
6978    }
6979  }
6980 
6981  grouping BGP-NBR-MSG-STATS {
6982    description
6983      "BGP NBR MSG STATS";
6984    container open {
6985      description
6986        "Open";
6987      uses BGP-NBR-MSG-STATS-OP;
6988    }
6989    container notification {
6990      description
6991        "Notification";
6992      uses BGP-NBR-MSG-STATS-OP;
6993    }
6994    container update {
6995      description
6996        "Update";
6997      uses BGP-NBR-MSG-STATS-OP;
6998    }
6999    container keepalive {
7000      description
7001        "Keepalive";
7002      uses BGP-NBR-MSG-STATS-OP;
7003    }
7004    container route-refresh {
7005      description
7006        "Route refresh";
7007      uses BGP-NBR-MSG-STATS-OP;
7008    }
7009    container total {
7010      description
7011        "Total";
7012      uses BGP-NBR-MSG-STATS-OP;
7013    }
7014  }
7015 
7016  grouping BGP-PERF-NBR-AF {
7017    description
7018      "BGP PERF NBR AF";
7019    leaf sub-group-pending-message-count {
7020      type uint32;
7021      description
7022        "No. of sub-group messages waiting to be sent out
7023         on this neighbor -- DEPRECATED -- ";
7024    }
7025    leaf processed-messages {
7026      type uint32;
7027      description
7028        "Number of messages processed from the neighbor's
7029         write queue";
7030    }
7031    leaf sent-messages {
7032      type uint32;
7033      description
7034        "Number of messages sent from the neighbor's
7035         write queue";
7036    }
7037    leaf split-horizon-update-transmit {
7038      type uint32;
7039      description
7040        "No. of update messages with split-horizon flag
7041         that were sent out";
7042    }
7043    leaf split-horizon-update-blocked {
7044      type uint32;
7045      description
7046        "No. of update messages with split-horizon flag
7047         that were blocked";
7048    }
7049    leaf split-horizon-withdraw-transmit {
7050      type uint32;
7051      description
7052        "No. of withdraw messages with split-horizon flag
7053         that were sent out";
7054    }
7055    leaf split-horizon-withdraw-blocked {
7056      type uint32;
7057      description
7058        "No. of withdraw messages with split-horizon flag
7059         that were blocked";
7060    }
7061  }
7062 
7063  grouping BGP-NBR-AF {
7064    description
7065      "BGP neighbor address family specific information";
7066    container neighbor-af-performance-statistics {
7067      description
7068        "Neighbor AF statistics";
7069      uses BGP-PERF-NBR-AF;
7070    }
7071    leaf af-name {
7072      type Bgp-afi;
7073      description
7074        "Address family identifier";
7075    }
7076    leaf is-neighbor-route-reflector-client {
7077      type boolean;
7078      description
7079        "Nbr is a route reflector client";
7080    }
7081    leaf is-legacy-pe-rt {
7082      type boolean;
7083      description
7084        "Nbr accepts route from legacy PE for
7085         RT-Constraint AF ";
7086    }
7087    leaf is-neighbor-af-capable {
7088      type boolean;
7089      description
7090        "Address family capability received from neighbor";
7091    }
7092    leaf is-soft-reconfiguration-inbound-allowed {
7093      type boolean;
7094      description
7095        "Inbound soft reconfiguration allowed";
7096    }
7097    leaf is-use-soft-reconfiguration-always-on {
7098      type boolean;
7099      description
7100        "Soft reconf overrides route refresh";
7101    }
7102    leaf remove-private-as-from-updates {
7103      type boolean;
7104      description
7105        "Private AS numbers removed from updates to this
7106         nbr";
7107    }
7108    leaf remove-private-as-entire-aspath-from-updates {
7109      type boolean;
7110      description
7111        "Private AS numbers removed from updates to
7112         thisnbr only if the aspath hasonly private ASes";
7113    }
7114    leaf remove-private-as-from-inbound-updates {
7115      type boolean;
7116      description
7117        "Private AS numbers removed from updates from
7118         this nbr";
7119    }
7120    leaf remove-private-as-entire-aspath-from-inbound-updates {
7121      type boolean;
7122      description
7123        "Private AS numbers removed from updates from
7124         this nbr only if the aspath has only private
7125         ASes";
7126    }
7127    leaf flowspec-validation-d-isable {
7128      type boolean;
7129      description
7130        "Flowspec Validation Disabled";
7131    }
7132    leaf flowspec-redirect-validation-d-isable {
7133      type boolean;
7134      description
7135        "Flowspec Redirect Validation Disabled";
7136    }
7137    leaf orr-group-name {
7138      type string;
7139      description
7140        "ORR Group Name";
7141    }
7142    leaf orr-group-index {
7143      type uint32;
7144      description
7145        "ORR Group Index";
7146    }
7147    leaf is-orr-root-address-configured {
7148      type boolean;
7149      description
7150        "ORR Root address configuredfor the neighbor
7151         connection";
7152    }
7153    leaf advertise-afi {
7154      type boolean;
7155      description
7156        "Encode in Advertise AFI";
7157    }
7158    leaf advertise-afi-reorg {
7159      type boolean;
7160      description
7161        "Encode in Advertise AFI";
7162    }
7163    leaf advertise-afi-disable {
7164      type boolean;
7165      description
7166        "Encode in Advertise AFI";
7167    }
7168    leaf encapsulation-type {
7169      type uint32;
7170      description
7171        "Encapsulation type";
7172    }
7173    leaf advertise-rt-type {
7174      type uint8;
7175      description
7176        "Advertise RT type";
7177    }
7178    leaf advertise-afi-def-vrf-imp-disable {
7179      type boolean;
7180      description
7181        "Advertise of default VRF import disable";
7182    }
7183    leaf advertise-evpnv4-afi-def-vrf-imp-disable {
7184      type boolean;
7185      description
7186        "Advertise of v4 default VRF import disable";
7187    }
7188    leaf advertise-evpnv6-afi-def-vrf-imp-disable {
7189      type boolean;
7190      description
7191        "Advertise of v6 default VRF import disable";
7192    }
7193    leaf advertise-afi-vrf-re-imp-disable {
7194      type boolean;
7195      description
7196        "Advertise of VRF re-import disable";
7197    }
7198    leaf advertise-evpnv4-afi-vrf-re-imp-disable {
7199      type boolean;
7200      description
7201        "Advertise of v4 VRF re-import disable";
7202    }
7203    leaf advertise-evpnv6-afi-vrf-re-imp-disable {
7204      type boolean;
7205      description
7206        "Advertise of v6 VRF re-import disable";
7207    }
7208    leaf advertise-afi-eo-r-ready {
7209      type boolean;
7210      description
7211        "EoR Can be sent for Advertise AFI";
7212    }
7213    leaf always-use-next-hop-local {
7214      type boolean;
7215      description
7216        "Local router always used for next-hop";
7217    }
7218    leaf sent-community-to-neighbor {
7219      type boolean;
7220      description
7221        "Community attribute sent to neighbor";
7222    }
7223    leaf sent-gshut-community-to-neighbor {
7224      type boolean;
7225      description
7226        "GSHUT Community attribute sent to neighbor";
7227    }
7228    leaf sent-extended-community-to-neighbor {
7229      type boolean;
7230      description
7231        "Extended community attribute sent to neighbor";
7232    }
7233    leaf default-originate-vpn-index {
7234      type uint32;
7235      description
7236        "Default orig vpn indexto find bitfield for a nbr
7237         af";
7238    }
7239    leaf neighbor-default-originate {
7240      type boolean;
7241      description
7242        "Neighbor originates default";
7243    }
7244    leaf is-orf-sent {
7245      type boolean;
7246      description
7247        "Outbound route filter sent to neighbor";
7248    }
7249    leaf is-update-deferred {
7250      type boolean;
7251      description
7252        "Update deferred until ORF/route refresh received";
7253    }
7254    leaf is-orf-send-scheduled {
7255      type boolean;
7256      description
7257        "Scheduled to send prefix based ORF";
7258    }
7259    leaf update-group-number {
7260      type uint32;
7261      description
7262        "Update group index";
7263    }
7264    leaf filter-group-index {
7265      type uint32;
7266      description
7267        "Filter group index";
7268    }
7269    leaf is-update-throttled {
7270      type boolean;
7271      description
7272        "Updates Throttled becausewrite limit is reached";
7273    }
7274    leaf is-update-leaving {
7275      type boolean;
7276      description
7277        "Nbr leaving update-groupto another";
7278    }
7279    leaf vpn-update-gen-enabled {
7280      type boolean;
7281      description
7282        "RT Nbr enabled for updategento another";
7283    }
7284    leaf vpn-update-gen-trigger-enabled {
7285      type boolean;
7286      description
7287        "RT Nbr enabled for updategento another";
7288    }
7289    leaf is-addpath-send-operational {
7290      type boolean;
7291      description
7292        "Addpath is operational on send-side";
7293    }
7294    leaf is-addpath-receive-operational {
7295      type boolean;
7296      description
7297        "Addpath is operational on receive-side";
7298    }
7299    leaf neighbor-version {
7300      type uint32;
7301      description
7302        "Neighbor version";
7303    }
7304    leaf weight {
7305      type uint32;
7306      description
7307        "Weight for this AF";
7308    }
7309    leaf max-prefix-limit {
7310      type uint32;
7311      description
7312        "Max limit for # of prefixes";
7313    }
7314    leaf use-max-prefix-warning-only {
7315      type boolean;
7316      description
7317        "Warning only when maximum prefix limit reached";
7318    }
7319    leaf max-prefix-discard-extra-paths {
7320      type boolean;
7321      description
7322        "Discard extra paths when prefix limit reached";
7323    }
7324    leaf max-prefix-exceed-discard-paths {
7325      type boolean;
7326      description
7327        "Did we discard extra paths when prefix limit
7328         reached";
7329    }
7330    leaf max-prefix-threshold-percent {
7331      type uint8;
7332      units "percentage";
7333      description
7334        "Percentage of maximum no. of prefixes at which
7335         to generate warning";
7336    }
7337    leaf max-prefix-restart-time {
7338      type uint16;
7339      units "minute";
7340      description
7341        "Time interval (in minutes) after which peering
7342         session will be reestablished";
7343    }
7344    leaf prefixes-accepted {
7345      type uint32;
7346      description
7347        "No. of prefixes accepted";
7348    }
7349    leaf prefixes-synced {
7350      type uint32;
7351      description
7352        "Number of prefixes synced to standby";
7353    }
7354    leaf prefixes-withdrawn-not-found {
7355      type uint32;
7356      description
7357        "No. of prefixes withdrawn but not found";
7358    }
7359    leaf prefixes-denied {
7360      type uint32;
7361      description
7362        "No. of prefixes denied";
7363    }
7364    leaf prefixes-denied-no-policy {
7365      type uint32;
7366      description
7367        "No. of prefixes denied because there was no
7368         inbound policy";
7369    }
7370    leaf prefixes-denied-rt-permit {
7371      type uint32;
7372      description
7373        "No. of prefixes denied because RT extended
7374         community is not imported";
7375    }
7376    leaf prefixes-denied-orf-policy {
7377      type uint32;
7378      description
7379        "No. of prefixes denied by prefix based ORF
7380         policy";
7381    }
7382    leaf prefixes-denied-policy {
7383      type uint32;
7384      description
7385        "No. of prefixes denied by inbound policy";
7386    }
7387    leaf number-of-bestpaths {
7388      type uint32;
7389      description
7390        "No. of bestpaths from this neighbor";
7391    }
7392    leaf number-of-best-externalpaths {
7393      type uint32;
7394      description
7395        "No. of best-external paths from this neighbor";
7396    }
7397    leaf prefixes-advertised {
7398      type uint32;
7399      description
7400        "No. of prefixes advertised";
7401    }
7402    leaf prefixes-be-advertised {
7403      type uint32;
7404      description
7405        "No BE prefixes advertised";
7406    }
7407    leaf prefixes-suppressed {
7408      type uint32;
7409      description
7410        "No. of prefixes suppressed";
7411    }
7412    leaf prefixes-withdrawn {
7413      type uint32;
7414      description
7415        "No. of prefixes withdrawn";
7416    }
7417    leaf is-peer-orf-capable {
7418      type boolean;
7419      description
7420        "Peer has outbound route filter capability";
7421    }
7422    leaf is-advertised-orf-send {
7423      type boolean;
7424      description
7425        "Prefix based ORF send mode capability advertised";
7426    }
7427    leaf is-received-orf-send-capable {
7428      type boolean;
7429      description
7430        "Prefix based ORF send mode capability received";
7431    }
7432    leaf is-advertised-orf-receive {
7433      type boolean;
7434      description
7435        "Prefix based ORF receive mode capability
7436         advertised";
7437    }
7438    leaf is-received-orf-receive-capable {
7439      type boolean;
7440      description
7441        "Prefix based ORF receive mode capability
7442         received";
7443    }
7444    leaf is-advertised-graceful-restart {
7445      type boolean;
7446      description
7447        "Graceful Restart Capability advertised";
7448    }
7449    leaf is-graceful-restart-state-flag {
7450      type boolean;
7451      description
7452        "Restart state flag enabled";
7453    }
7454    leaf is-received-graceful-restart-capable {
7455      type boolean;
7456      description
7457        "Graceful Restart Capability received";
7458    }
7459    leaf is-add-path-send-capability-advertised {
7460      type boolean;
7461      description
7462        "Addpath Send capability advertised";
7463    }
7464    leaf is-add-path-send-capability-received {
7465      type boolean;
7466      description
7467        "Addpath Send capability received";
7468    }
7469    leaf is-add-path-receive-capability-advertised {
7470      type boolean;
7471      description
7472        "Addpath Receive capability advertised";
7473    }
7474    leaf is-add-path-receive-capability-received {
7475      type boolean;
7476      description
7477        "Addpath Receive capability received";
7478    }
7479    leaf is-ext-nh-encoding-capability-received {
7480      type boolean;
7481      description
7482        "Extended nexthop encoding capability received";
7483    }
7484    leaf is-ext-nh-encoding-capability-sent {
7485      type boolean;
7486      description
7487        "Extended nexhop encoding capability Sent";
7488    }
7489    leaf restart-time {
7490      type uint32;
7491      units "second";
7492      description
7493        "Restart time advertised (seconds)";
7494    }
7495    leaf local-restart-time {
7496      type uint32;
7497      units "second";
7498      description
7499        "Local Restart time (seconds)";
7500    }
7501    leaf stale-path-timeout {
7502      type uint32;
7503      units "second";
7504      description
7505        "Stale path timeout time (in seconds)";
7506    }
7507    leaf rib-purge-timeout-value {
7508      type uint32;
7509      units "second";
7510      description
7511        "RIB purge timeout time (in seconds)";
7512    }
7513    leaf neighbor-preserved-forwarding-state {
7514      type boolean;
7515      description
7516        "Neighbor preserved forwarding state";
7517    }
7518    leaf long-lived-graceful-restart-stale-time-configured {
7519      type boolean;
7520      description
7521        "Long-lived graceful-restart stale time is
7522         configured";
7523    }
7524    leaf long-lived-graceful-restart-stale-time-sent {
7525      type uint32;
7526      units "second";
7527      description
7528        "Stale time sent in long-lived graceful-restart
7529         capability (seconds)";
7530    }
7531    leaf long-lived-graceful-restart-stale-time-accept {
7532      type uint32;
7533      units "second";
7534      description
7535        "Maximum long-lived graceful-restart stale time
7536         acceptable from the neighbor (seconds)";
7537    }
7538    leaf long-lived-graceful-restart-capability-received {
7539      type boolean;
7540      description
7541        "Long-lived graceful-restart capability received
7542         from the neighbor";
7543    }
7544    leaf long-lived-graceful-restart-stale-time-received {
7545      type uint32;
7546      units "second";
7547      description
7548        "Long-lived graceful-restart stale time received
7549         from the neighbor (seconds)";
7550    }
7551    leaf neighbor-preserved-long-lived-forwarding-state {
7552      type boolean;
7553      description
7554        "Neighbor preserved long-lived forwarding state";
7555    }
7556    leaf neighbor-long-lived-graceful-restart-capable {
7557      type boolean;
7558      description
7559        "Treat neighbor as long-lived graceful-restart
7560         capable";
7561    }
7562    leaf neighbor-long-lived-graceful-restart-time-remaining {
7563      type uint32;
7564      description
7565        "Remaining long-lived graceful-restart time";
7566    }
7567    leaf route-refreshes-received {
7568      type uint32;
7569      description
7570        "Number of route refresh requests received";
7571    }
7572    leaf route-refreshes-sent {
7573      type uint32;
7574      description
7575        "Number of route refresh requests sent";
7576    }
7577    leaf refresh-target-version {
7578      type uint32;
7579      description
7580        "Target version for refresh update generation";
7581    }
7582    leaf refresh-version {
7583      type uint32;
7584      description
7585        "Version till which refresh updates have been
7586         generated";
7587    }
7588    leaf refresh-acked-version {
7589      type uint32;
7590      description
7591        "Version acked by the peer for refresh updates
7592         sent";
7593    }
7594    leaf is-prefix-orf-present {
7595      type boolean;
7596      description
7597        "Outbound route filter prefix ORF present";
7598    }
7599    leaf orf-entries-received {
7600      type uint32;
7601      description
7602        "Number of outbound route filter entries received";
7603    }
7604    leaf is-default-originate-sent {
7605      type boolean;
7606      description
7607        "Default origination update sent";
7608    }
7609    leaf route-policy-prefix-orf {
7610      type string;
7611      description
7612        "Prefix based ORF for incoming updates";
7613    }
7614    leaf route-policy-in {
7615      type string;
7616      description
7617        "Incoming route policy name";
7618    }
7619    leaf route-policy-out {
7620      type string;
7621      description
7622        "Outgoing route policy name";
7623    }
7624    leaf route-policy-default-originate {
7625      type string;
7626      description
7627        "Default-originate route policy name";
7628    }
7629    leaf is-neighbor-ebgp-without-inbound-policy {
7630      type boolean;
7631      description
7632        "eBGP neighbor with no configured inbound policy";
7633    }
7634    leaf is-neighbor-ebgp-without-outbound-policy {
7635      type boolean;
7636      description
7637        "eBGP neighbor with no configured outbound policy";
7638    }
7639    leaf is-upd-orig-loopchk-disable-set {
7640      type boolean;
7641      description
7642        "upd_orig_loopchk_disable set ";
7643    }
7644    leaf is-as-override-set {
7645      type boolean;
7646      description
7647        "As override set ";
7648    }
7649    leaf is-allow-as-in-set {
7650      type boolean;
7651      description
7652        "Allowas-in set ";
7653    }
7654    leaf allow-as-in-count {
7655      type uint32;
7656      description
7657        "Allowas-in count config";
7658    }
7659    leaf address-family-long-lived-time {
7660      type uint32;
7661      description
7662        "AF specific Long-lived-time config";
7663    }
7664    leaf eo-r-received-in-read-only {
7665      type boolean;
7666      description
7667        "An EoR was received while in read-only mode";
7668    }
7669    leaf acked-version {
7670      type uint32;
7671      description
7672        "Version mapped from acked seqNo";
7673    }
7674    leaf synced-acked-version {
7675      type uint32;
7676      description
7677        "Version mapped from acked seqNo that was synced
7678         last";
7679    }
7680    leaf outstanding-version {
7681      type uint32;
7682      description
7683        "No. of all outstanding version objects waiting
7684         for ack from the peer";
7685    }
7686    leaf outstanding-refresh-version {
7687      type uint32;
7688      description
7689        "No. of only refresh version objects waiting for
7690         ack from the peer";
7691    }
7692    leaf outstanding-version-max {
7693      type uint32;
7694      description
7695        "Version mapped from acked seqNo that was synced
7696         last";
7697    }
7698    leaf is-aigp-set {
7699      type boolean;
7700      description
7701        "AIGP set ";
7702    }
7703    leaf is-rt-present {
7704      type boolean;
7705      description
7706        "RT attribute list present";
7707    }
7708    leaf is-rt-present-standby {
7709      type boolean;
7710      description
7711        "RT attribute list present";
7712    }
7713    leaf accept-own-enabled {
7714      type boolean;
7715      description
7716        "Accept-Own enabled";
7717    }
7718    leaf selective-multipath-eligible {
7719      type boolean;
7720      description
7721        "Selective multipath eligible";
7722    }
7723    leaf afrpki-disable {
7724      type boolean;
7725      description
7726        "Prefix validation disabled";
7727    }
7728    leaf afrpki-use-validity {
7729      type boolean;
7730      description
7731        "Prefix v. use validity";
7732    }
7733    leaf afrpki-allow-invalid {
7734      type boolean;
7735      description
7736        "Prefix v. allow invalid";
7737    }
7738    leaf afrpki-signal-ibgp {
7739      type boolean;
7740      description
7741        "Prefix v. signal ibgp";
7742    }
7743    leaf is-advertise-permanent-network {
7744      type boolean;
7745      description
7746        "Advertise Permanent Network";
7747    }
7748    leaf is-send-mcast-attr {
7749      type boolean;
7750      description
7751        "Send Mcast Attr";
7752    }
7753    leaf import-stitching {
7754      type boolean;
7755      description
7756        "Import Stitching enabled";
7757    }
7758    leaf import-reoriginate {
7759      type boolean;
7760      description
7761        "Import Reoriginate enabled";
7762    }
7763    leaf import-reoriginate-stitching {
7764      type boolean;
7765      description
7766        "Import Reoriginate Stitching enabled";
7767    }
7768    leaf advertise-v4-flags {
7769      type uint32;
7770      description
7771        "Advertise options for VPNV4";
7772    }
7773    leaf advertise-v6-flags {
7774      type uint32;
7775      description
7776        "Advertise options for VPNV6";
7777    }
7778    leaf advertise-local-labeled-route-unicast {
7779      type boolean;
7780      description
7781        "Advertise routes with ";
7782    }
7783    leaf prefixes-denied-non-cumulative {
7784      type uint32;
7785      description
7786        "No. of prefixes exactly denied (non cumulative)";
7787    }
7788    leaf enable-label-stack {
7789      type boolean;
7790      description
7791        "Enable label stack";
7792    }
7793    list extended-community {
7794      description
7795        "Extended community attribute";
7796      leaf entry {
7797        type uint8;
8366      description7798        description
8367        "Tbl Id ";7799          "Extended community attribute";
7800      }
7801    }
7802    list extended-community-standby {
7803      description
7804        "Extended community attribute";
7805      leaf entry {
7806        type uint8;
7807        description
7808          "Extended community attribute";
7809      }
7810    }
7811  }
7812 
7813  grouping BGP-PERF-NBR {
7814    description
7815      "BGP PERF NBR";
7816    leaf read-throttles {
7817      type uint32;
7818      description
7819        "Number of partial read throttles";
7820    }
7821    leaf low-throttled-read {
7822      type uint32;
7823      description
7824        "Num socket reads after nbrs crossed low
7825         threshold";
7826    }
7827    leaf high-throttled-read {
7828      type uint32;
7829      description
7830        "Num of socket reads after nbr crossed high
7831         threshold";
7832    }
7833    leaf time-since-last-throttled-read {
7834      type uint32;
7835      units "second";
7836      description
7837        "Time (in secs) since last read after being
7838         throttled";
7839    }
7840    leaf read-calls-count {
7841      type uint32;
7842      description
7843        "No. of calls to function to read inbound data";
7844    }
7845    leaf read-messages-count {
7846      type uint32;
7847      description
7848        "Number of BGP messages read";
7849    }
7850    leaf data-bytes-read {
7851      type uint32;
7852      units "byte";
7853      description
7854        "No. of bytes of data read";
7855    }
7856    leaf io-read-time {
7857      type uint32;
7858      units "millisecond";
7859      description
7860        "Time spent reading inbound data (milliseconds)";
7861    }
7862    leaf write-calls-count {
7863      type uint32;
7864      description
7865        "No. of calls to function to write outbound data";
7866    }
7867    leaf data-bytes-written {
7868      type uint32;
7869      units "byte";
7870      description
7871        "No. of data bytes written";
7872    }
7873    leaf io-write-time {
7874      type uint32;
7875      units "millisecond";
7876      description
7877        "Time spent writing outbound data (milliseconds)";
7878    }
7879    leaf last-sent-seq-no {
7880      type uint32;
7881      description
7882        "Seq No of the last sent byte";
7883    }
7884    leaf write-subgroup-calls-count {
7885      type uint32;
7886      description
7887        "No. of calls to function to process sub-group
7888         message list";
7889    }
7890    leaf write-subgroup-messages-count {
7891      type uint32;
7892      description
7893        "Number of sub-group msgs processed";
7894    }
7895    leaf subgroup-list-time {
7896      type uint32;
7897      units "millisecond";
7898      description
7899        "Time spent processing sub-group message list
7900         (milliseconds)";
7901    }
7902    leaf write-queue-calls-count {
7903      type uint32;
7904      description
7905        "No. of calls to function to process write queue";
7906    }
7907    leaf write-queue-messages-count {
7908      type uint32;
7909      description
7910        "Number of write queue messages processed";
7911    }
7912    leaf write-queue-time {
7913      type uint32;
7914      units "millisecond";
7915      description
7916        "Time spent processing write queue (milliseconds)";
7917    }
7918    leaf inbound-update-messages {
7919      type uint32;
7920      description
7921        "Number of inbound update messages processed";
7922    }
7923    leaf inbound-update-messages-time {
7924      type uint32;
7925      units "millisecond";
7926      description
7927        "Time spent processing inbound update messages
7928         (milliseconds)";
7929    }
7930    leaf maximum-read-size {
7931      type uint32;
7932      units "millisecond";
7933      description
7934        "Size of largest socket (milliseconds)";
7935    }
7936    leaf actives {
7937      type uint32;
7938      description
7939        "Number of retried Active opens for this neighbor";
7940    }
7941    leaf failed-post-actives {
7942      type uint32;
7943      description
7944        "Number of Active Opens that failed in the Post
7945         Active State for this neighbor";
7946    }
7947    leaf passives {
7948      type uint32;
7949      description
7950        "Number of retried Passive opens for this
7951         neighbor";
7952    }
7953    leaf rejected-passives {
7954      type uint32;
7955      description
7956        "Number of rejected Passive opens for this
7957         neighbor";
7958    }
7959    leaf active-collision {
7960      type uint32;
7961      description
7962        "Number of Closed Active connections for this
7963         neighbor due to collision ";
7964    }
7965    leaf passive-collision {
7966      type uint32;
7967      description
7968        "Number of Closed Remote opens for this
7969         neighborneighbor due to collision ";
7970    }
7971    leaf control-to-read-thread-trigger {
7972      type uint32;
7973      description
7974        "Number of times io-control thread trigger read
7975         thread";
7976    }
7977    leaf control-to-write-thread-trigger {
7978      type uint32;
7979      description
7980        "Number of times io-control thread trigger write
7981         thread";
7982    }
7983    leaf network-status {
7984      type uint32;
7985      description
7986        "Socket status, TRUE if socket closed";
7987    }
7988    leaf reset-flags {
7989      type uint32;
7990      description
7991        "Reset flags, per thread";
7992    }
7993    leaf nbr-flags {
7994      type uint32;
7995      description
7996        "Nbr flags, per thread";
7997    }
7998    leaf nbr-fd {
7999      type int32;
8000      description
8001        "Primary FD, per nbr";
8002    }
8003    leaf reset-retries {
8004      type uint8;
8005      description
8006        "Reset Retries, per nbr";
8007    }
8008    leaf sync-flags {
8009      type uint32;
8010      description
8011        "Sync flags, per nbr";
8012    }
8013    leaf nsr-oper-down-count {
8014      type uint32;
8015      description
8016        "Number of times NSR scoped sync has been done";
8017    }
8018    leaf last-nsr-scoped-sync {
8019      type uint32;
8020      description
8021        "Last time NSR scoped syncwas done for the
8022         neighbor";
8023    }
8024  }
8025 
8026  grouping BGP-NOTFNTYPE {
8027    description
8028      "BGP NOTFNTYPE";
8029    leaf time-since-last-notification {
8030      type uint32;
8031      units "second";
8032      description
8033        "Time since the last notification was sent or
8034         received (seconds)";
8035    }
8036    leaf notification-error-code {
8037      type uint8;
8038      description
8039        "Error code in last notification";
8040    }
8041    leaf notification-error-subcode {
8042      type uint8;
8043      description
8044        "Error subcode in last notification";
8045    }
8046    list last-notification-data {
8047      description
8048        "Message data in last notification";
8049      leaf entry {
8050        type uint8;
8051        description
8052          "Message data in last notification";
8053      }
8054    }
8055  }
8056 
8057  grouping BGP-NBR-BAG {
8058    description
8059      "BGP Neighbor Information";
8060    container connection-local-address {
8061      description
8062        "Local address for the connection";
8063      uses BGP-ADDRTYPE;
8064    }
8065    container connection-remote-address {
8066      description
8067        "Remote address for the connection";
8068      uses BGP-ADDRTYPE;
8069    }
8070    container send-notification-info {
8071      description
8072        "Information on the last notification sent";
8073      uses BGP-NOTFNTYPE;
8074    }
8075    container received-notification-info {
8076      description
8077        "Information on the last notification received";
8078      uses BGP-NOTFNTYPE;
8079    }
8080    container performance-statistics {
8081      description
8082        "Performance statistics";
8083      uses BGP-PERF-NBR;
8084    }
8085    container message-statistics {
8086      description
8087        "Message statistics";
8088      uses BGP-NBR-MSG-STATS;
8089    }
8090    container tcp-init-sync-time-spec {
8091      description
8092        "Time When neighbor entered TCP Init Sync";
8093      uses BGP-TIMESPEC;
8094    }
8095    container tcp-init-sync-phase-two-time-spec {
8096      description
8097        "Time when neighbor entered TCP Init Sync Phase
8098         Two";
8099      uses BGP-TIMESPEC;
8100    }
8101    container tcp-init-sync-done-time-spec {
8102      description
8103        "Time when neighbor entered TCP Init Sync Done";
8104      uses BGP-TIMESPEC;
8105    }
8106    container graceful-maintenance {
8107      description
8108        "Graceful Maintenance";
8109      uses BGP-NBR-GSHUT;
8110    }
8111    leaf speaker-id {
8112      type uint8;
8113      description
8114        "Speaker this neighbor is allocated to";
8115    }
8116    leaf description {
8117      type string;
8118      description
8119        "Description";
8120    }
8121    leaf local-as {
8122      type uint32;
8123      description
8124        "Local AS number";
8125    }
8126    leaf remote-as {
8127      type uint32;
8128      description
8129        "Remote AS number";
8130    }
8131    leaf has-internal-link {
8132      type boolean;
8133      description
8134        "Internal link to neighbor";
8135    }
8136    leaf is-external-neighbor-not-directly-connected {
8137      type boolean;
8138      description
8139        "External neighbor not directly connected";
8140    }
8141    leaf messages-received {
8142      type uint32;
8143      description
8144        "Number of messages received";
8145    }
8146    leaf messages-sent {
8147      type uint32;
8148      description
8149        "Number of messages sent";
8150    }
8151    leaf update-messages-in {
8152      type uint32;
8153      description
8154        "No. of update msgs received";
8155    }
8156    leaf update-messages-out {
8157      type uint32;
8158      description
8159        "No. of update messages sent";
8160    }
8161    leaf messages-queued-in {
8162      type uint32;
8163      description
8164        "No. of msgs on receive queue";
8165    }
8166    leaf messages-queued-out {
8167      type uint32;
8168      description
8169        "No. of messages on send queue";
8170    }
8171    leaf connection-established-time {
8172      type uint32;
8173      units "second";
8174      description
8175        "Time (in secs) that the connection has been
8176         established";
8177    }
8178    leaf connection-state {
8179      type Bgp-conn-state;
8180      description
8181        "State of connection";
8182    }
8183    leaf previous-connection-state {
8184      type uint32;
8185      description
8186        "Previous state of connection";
8187    }
8188    leaf connection-admin-status {
8189      type uint32;
8190      description
8191        "Administrative status of connection";
8192    }
8193    leaf open-check-error-code {
8194      type Bgp-open-check-err;
8195      description
8196        "Open check error code";
8197    }
8198    leaf is-local-address-configured {
8199      type boolean;
8200      description
8201        "Local address configured for the neighbor
8202         connection";
8203    }
8204    leaf connection-local-port {
8205      type uint32;
8206      description
8207        "Local port for the connection";
8208    }
8209    leaf connection-remote-port {
8210      type uint32;
8211      description
8212        "Remote port for the connection";
8213    }
8214    leaf neighbor-interface-handle {
8215      type uint32;
8216      description
8217        "Interface Handle of Neighbor";
8218    }
8219    leaf reset-notification-sent {
8220      type boolean;
8221      description
8222        "Notification was sent during last reset";
8223    }
8224    leaf is-administratively-shut-down {
8225      type boolean;
8226      description
8227        "Neighbor is administratively shut down";
8228    }
8229    leaf is-neighbor-max-prefix-shutdown {
8230      type boolean;
8231      description
8232        "Neighbor shut down because it exceeded max prfx
8233         count";
8234    }
8235    leaf is-out-of-memory-shutdown {
8236      type boolean;
8237      description
8238        "Neighbor shut down during a SEVERE low memory
8239         condition";
8240    }
8241    leaf is-out-of-memory-forced-up {
8242      type boolean;
8243      description
8244        "Neighbor forced up during a low memory condition";
8245    }
8246    leaf is-ebgp-peer-as-league {
8247      type boolean;
8248      description
8249        "EBGP peer belongs to AS League";
8250    }
8251    leaf is-ebgp-peer-common-admin {
8252      type boolean;
8253      description
8254        "EBGP peer with common administation";
8255    }
8256    leaf ttl-security-enabled {
8257      type boolean;
8258      description
8259        "TTL Security enabled";
8260    }
8261    leaf suppress4-byte-as {
8262      type boolean;
8263      description
8264        "Suppress 4byteas capability";
8265    }
8266    leaf bfd-session-state {
8267      type Bgp-bfd-state;
8268      description
8269        "BFD state for this peer";
8270    }
8271    leaf bfd-session-created-state {
8272      type Bgp-bfd-state;
8273      description
8274        "BFD state for this peer";
8275    }
8276    leaf bfd-session-enable-mode {
8277      type Bgp-bfd-enable-mode;
8278      description
8279        "BFD enable mode for this peer";
8280    }
8281    leaf bfd-minintervalval {
8282      type uint32;
8283      description
8284        "BFD Mininterval for this peer";
8285    }
8286    leaf bfd-multiplierval {
8287      type uint32;
8288      description
8289        "BFD Multiplier for this peer";
8290    }
8291    leaf bfd-state-ts {
8292      type uint64;
8293      description
8294        "Timestamp since when nbr is in this bfd state";
8295    }
8296    leaf router-id {
8297      type inet:ipv4-address;
8298      description
8299        "Router ID for the neighbor";
8300    }
8301    leaf negotiated-protocol-version {
8302      type uint16;
8303      description
8304        "Negotiated protocol version";
8305    }
8306    leaf ebgp-time-to-live {
8307      type uint32;
8308      description
8309        "Maximum number of hops for external BGP neighbor";
8310    }
8311    leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
8312      type boolean;
8313      description
8314        "If true, MPLS and NULL rewrite is disabled; if
8315         false, it is enabled";
8316    }
8317    leaf tcpmss {
8318      type uint32;
8319      description
8320        "Neighbor TCP Maximum Segment
8321         size";
8322    }
8323    leaf msg-log-in {
8324      type uint32;
8325      description
8326        "Message in log count";
8327    }
8328    leaf msg-log-out {
8329      type uint32;
8330      description
8331        "Message out log count";
8332    }
8333    leaf neighbor-local-as {
8334      type uint32;
8335      description
8336        "Local AS configured on the neighbor";
8337    }
8338    leaf local-as-no-prepend {
8339      type boolean;
8340      description
8341        "Option to not prepend the Local AS to
8342         announcements";
8343    }
8344    leaf is-capability-negotiation-suppressed {
8345      type boolean;
8346      description
8347        "Capability negotiation suppressed";
8348    }
8349    leaf is-capability-negotiation-performed {
8350      type boolean;
8351      description
8352        "Capability negotiation performed";
8353    }
8354    leaf is-route-refresh-capability-received {
8355      type boolean;
8356      description
8357        "Route refresh capability received";
8358    }
8359    leaf is-route-refresh-old-capability-received {
8360      type boolean;
8361      description
8362        "Route refresh old capability received";
8363    }
8364    leaf is-gr-aware {
8365      type boolean;
8366      description
8367        "GR awareness received";
8368    }
8369    leaf is4-byte-as-capability-received {
8370      type boolean;
8371      description
8372        "4-byte AScapability received";
8373    }
8374    leaf is4-byte-as-capability-sent {
8375      type boolean;
8376      description
8377        "4-byte AScapability Snt";
8378    }
8379    leaf multi-protocol-capability-received {
8380      type boolean;
8381      description
8382        "Multi-protocol capability has been received";
8383    }
8384    leaf hold-time {
8385      type uint16;
8386      units "second";
8387      description
8388        "Hold time (in secs) negotiated for this
8389         connection";
8390    }
8391    leaf keep-alive-time {
8392      type uint16;
8393      units "second";
8394      description
8395        "Keepalive time (in secs) negotiated for this
8396         connection";
8397    }
8398    leaf configured-hold-time {
8399      type uint16;
8400      units "second";
8401      description
8402        "Hold time (in secs) configured for this
8403         connection";
8404    }
8405    leaf configured-keepalive {
8406      type uint16;
8407      units "second";
8408      description
8409        "Keepalive time (in secs) configured for this
8410         connection";
8411    }
8412    leaf configured-min-acc-hold-time {
8413      type uint16;
8414      units "second";
8415      description
8416        "Minimum acceptable hold time from neighbor (in
8417         secs) configured for this connection";
8418    }
8419    leaf min-advertise-interval {
8420      type uint32;
8421      units "second";
8422      description
8423        "Minimum advertisement interval, secs part";
8424    }
8425    leaf min-advertise-interval-msecs {
8426      type uint32;
8427      units "millisecond";
8428      description
8429        "Minimum advertisement interval, msecs part";
8430    }
8431    leaf min-origination-interval {
8432      type uint16;
8433      units "second";
8434      description
8435        "Minimum origination interval (in secs)";
8436    }
8437    leaf connect-retry-interval {
8438      type uint16;
8439      units "second";
8440      description
8441        "Time (in secs) for connect retry timer";
8442    }
8443    leaf time-since-last-update {
8444      type uint32;
8445      units "second";
8446      description
8447        "Time (in secs) since last update message was
8448         received";
8449    }
8450    leaf time-since-last-read {
8451      type uint32;
8452      units "second";
8453      description
8454        "Time (in secs) since last read";
8455    }
8456    leaf time-since-last-read-reset {
8457      type uint32;
8458      units "second";
8459      description
8460        "Time (in secs) since last read before last reset";
8461    }
8462    leaf time-last-cb {
8463      type uint64;
8464      description
8465        "CB";
8466    }
8467    leaf time-last-cb-reset {
8468      type uint32;
8469      description
8470        "Last CB before reset";
8471    }
8472    leaf time-last-fb {
8473      type uint64;
8474      description
8475        "FB";
8476    }
8477    leaf count-last-write {
8478      type uint32;
8479      description
8480        "Count";
8481    }
8482    leaf time-since-last-write {
8483      type uint32;
8484      units "second";
8485      description
8486        "Time (in secs) since last write";
8487    }
8488    leaf attempted-last-write-bytes {
8489      type uint32;
8490      description
8491        "Attempted size of last write";
8492    }
8493    leaf actual-last-write-bytes {
8494      type uint32;
8495      description
8496        "Actual size of last write";
8497    }
8498    leaf time-since-second-last-write {
8499      type uint32;
8500      units "second";
8501      description
8502        "Time (in secs) since second  last write";
8503    }
8504    leaf attempted-second-last-write-bytes {
8505      type uint32;
8506      description
8507        "Attempted size of second last write";
8508    }
8509    leaf actual-second-last-write-bytes {
8510      type uint32;
8511      description
8512        "Actual size of second last write";
8513    }
8514    leaf time-since-last-write-reset {
8515      type uint32;
8516      units "second";
8517      description
8518        "Time (in secs) since last write before last
8519         reset";
8520    }
8521    leaf attempted-last-write-reset-bytes {
8522      type uint32;
8523      description
8524        "Attempted size of last write before reset";
8525    }
8526    leaf actual-last-write-reset-bytes {
8527      type uint32;
8528      description
8529        "Actual size of last write before reset";
8530    }
8531    leaf time-since-second-last-write-reset {
8532      type uint32;
8533      units "second";
8534      description
8535        "Time (in secs) since last write before last
8536         reset";
8537    }
8538    leaf attempted-second-last-write-reset-bytes {
8539      type uint32;
8540      description
8541        "Attempted size of second last write before reset";
8542    }
8543    leaf actual-second-last-write-reset-bytes {
8544      type uint32;
8545      description
8546        "Actual size of second last write before reset";
8547    }
8548    leaf last-write-event {
8549      type uint32;
8550      units "second";
8551      description
8552        "Time (in secs) since last write thread event";
8553    }
8554    leaf second-last-write-event {
8555      type uint32;
8556      units "second";
8557      description
8558        "Time (in secs) since second last write thread
8559         event";
8560    }
8561    leaf last-k-aexpiry-reset {
8562      type uint32;
8563      units "second";
8564      description
8565        "Time (in secs) since last KA timer expiry before
8566         reset";
8567    }
8568    leaf second-last-k-aexpiry-reset {
8569      type uint32;
8570      units "second";
8571      description
8572        "Time (in secs) since second last KA timer expiry
8573         before reset";
8574    }
8575    leaf last-k-anotsent-reset {
8576      type uint32;
8577      units "second";
8578      description
8579        "Duration (in secs) since last time that KA was
8580         not sent before reset";
8581    }
8582    leaf last-k-aerror-reset {
8583      type uint32;
8584      units "second";
8585      description
8586        "Duration (in secs) since last time that an error
8587         was encountered after KA expiry";
8588    }
8589    leaf last-k-astart-reset {
8590      type uint32;
8591      units "second";
8592      description
8593        "Time (in secs) since the last KA timer start
8594         before reset";
8595    }
8596    leaf second-last-k-astart-reset {
8597      type uint32;
8598      units "second";
8599      description
8600        "Time (in secs) since the second last KA timer
8601         start before reset";
8602    }
8603    leaf connection-up-count {
8604      type uint32;
8605      description
8606        "Number of times the connection was established";
8607    }
8608    leaf connection-down-count {
8609      type uint32;
8610      description
8611        "Number of times connection was dropped";
8612    }
8613    leaf time-since-connection-last-dropped {
8614      type uint32;
8615      units "second";
8616      description
8617        "Time since the connection last went down
8618         (seconds)";
8619    }
8620    leaf reset-reason {
8621      type Bgp-reset-reason-index;
8622      description
8623        "Reason for last connection reset";
8624    }
8625    leaf peer-reset-reason {
8626      type Bgp-peer-reset-reason-index;
8627      description
8628        "Reason for last peer close event";
8629    }
8630    leaf peer-error-code {
8631      type uint32;
8632      description
8633        "If peer closed, error received from transport";
8634    }
8635    leaf last-notify-error-code {
8636      type uint8;
8637      description
8638        "Code for the last error notification seen on the
8639         connection";
8640    }
8641    leaf last-notify-error-subcode {
8642      type uint8;
8643      description
8644        "Error subcode of the last error notification
8645         seen on the connection";
8646    }
8647    leaf error-notifies-received {
8648      type uint32;
8649      description
8650        "Number of error notifications received on the
8651         connection";
8652    }
8653    leaf error-notifies-sent {
8654      type uint32;
8655      description
8656        "Number of error notifications sent on the
8657         connection";
8658    }
8659    leaf remote-as-number {
8660      type uint32;
8661      description
8662        "Remote AS number";
8663    }
8664    leaf dmz-link-bandwidth {
8665      type uint32;
8666      description
8667        "Bandwidth of link to single-hop eBGP peer";
8668    }
8669    leaf ebgp-recv-dmz {
8670      type boolean;
8671      description
8672        "Receive Bandwidth of link to single-hop eBGP
8673         peer";
8674    }
8675    leaf ebgp-send-dmz-mode {
8676      type Bgp-ebgp-send-dmz-enable-mode;
8677      description
8678        "Ebgp send dmz link bw mode";
8679    }
8680    leaf tos-type {
8681      type uint8;
8682      description
8683        "Precedence or DSCP type";
8684    }
8685    leaf tos-value {
8686      type uint8;
8687      description
8688        "Precedence or DSCP value";
8689    }
8690    leaf tcp-session-open-mode {
8691      type Bgp-tcp-mode;
8692      description
8693        "The TCP mode to be used to set up BGP session
8694         with the neighbor";
8368    }8695    }
8369    leaf vrf-name {8696    leaf vrf-name {
8370      type string;8697      type string;
8371      description8698      description
8372        "Name of the VRF";8699        "Name of the VRF";
8373    }8700    }
n8374  }n8701    leaf standby-rp {
8375 8702      type boolean;
8376  grouping BGP-DEP-BAG {
8377    description8703      description
8378      "BGP SVD";8704        "Standby RP socket inited for Active Open";
8379    list dep-entry-info {
8380      description
8381        "List of Dependency Tables ";
8382      uses BGP-DEP-ENTRY-INFO;
8383    }
8384  }8705    }
8385 8706    leaf nsr-enabled {
8386  grouping BGP-UPDGEN-AF-BAG {8707      type boolean;
8387    description8708      description
8388      "BGP Update generation address-family information";8709        "Neighbor supports NSR";
8389    container update-statistics {
8390      description
8391        "BGP address-family statistics update";
8392      uses BGP-UPDGEN-STATS-BAG;
8393    }8710    }
n8394    leaf update-group-af-name {n8711    leaf graceful-restart-enabled-nbr {
8395      type Bgp-afi;8712      type boolean;
8396      description8713      description
n8397        "Address family identifier";n8714        "Neighbor supports graceful-restart";
8398    }8715    }
n8399    leaf update-main-table-version {n8716    leaf gr-restart-time {
8400      type uint64;8717      type uint32;
8718      units "second";
8401      description8719      description
n8402        "Main table version";n8720        "Neighbor restart time (in seconds)";
8403    }8721    }
n8404    leaf update-rib-version {n8722    leaf gr-stale-path-time {
8405      type uint64;8723      type uint32;
8724      units "second";
8406      description8725      description
n8407        "RIB version";n8726        "Neighbor stale-path time (in seconds)";
8408    }8727    }
n8409    leaf update-min-neighbor-version {n8728    leaf fssn-offset {
8410      type uint64;8729      type uint32;
8411      description8730      description
n8412        "Minimum Neighbor version";n8731        "First standby SeqNo offset";
8413    }8732    }
n8414    leaf current-update-limit-af {n8733    leaf fpbsn-offset {
8415      type uint32;8734      type uint32;
8416      description8735      description
n8417        "BGP Current AF sub-group update limit";n8736        "First standby PDU boundary SeqNo offset";
8418    }8737    }
n8419    leaf configured-update-limit-af {n8738    leaf last-ackd-seq-no {
8739      type uint32;
8740      description
8741        "SeqNo of the last Ackd byte";
8742    }
8743    leaf bytes-written {
8420      type uint32;8744      type uint32;
8421      units "byte";8745      units "byte";
8422      description8746      description
n8423        "Update limit per address-family in bytes";n8747        "Total bytes written by write thread";
8424    }8748    }
n8425    leaf current-update-limit-subgrp-ebgp {n8749    leaf bytes-read {
8426      type uint32;
8427      description
8428        "Current EBGP sub-group update limit";
8429    }
8430    leaf configured-update-limit-subgrp-ebgp {
8431      type uint32;
8432      description
8433        "Configured EBGP sub-group update limit";
8434    }
8435    leaf current-update-limit-sub-group-ibgp {
8436      type uint32;
8437      description
8438        "Current IBGP sub-group update limit";
8439    }
8440    leaf configured-update-limit-sub-group-ibgp {
8441      type uint32;
8442      description
8443        "Configured IBGP sub-group update limit";
8444    }
8445    leaf update-out-queue-messages {
8446      type uint32;
8447      description
8448        "OutQueue messsages";
8449    }
8450    leaf update-out-queue-size {
8451      type uint32;
8452      description
8453        "OutQueue size";
8454    }
8455    leaf update-throttled {
8456      type boolean;
8457      description
8458        "Flag to indicate if update generation is
8459         currently throttled";
8460    }
8461    leaf update-update-group-count {
8462      type uint32;
8463      description
8464        "Update-group count";
8465    }
8466    leaf update-sub-group-count {
8467      type uint32;
8468      description
8469        "Sub-group count";
8470    }
8471    leaf sub-group-throttled-count {
8472      type uint32;
8473      description
8474        "Throttled sub-group count";
8475    }
8476    leaf refresh-sub-group-count {
8477      type uint32;
8478      description
8479        "Number of refresh sub groups";
8480    }
8481    leaf refresh-sub-group-throttled-count {
8482      type uint32;
8483      description
8484        "Throttled refresh sub-group count";
8485    }
8486    leaf filter-group-count {
8487      type uint32;
8488      description
8489        "Number of refresh filter groups";
8490    }
8491    leaf neighbor-count {
8492      type uint32;
8493      description
8494        "Number of neighbors in BGP";
8495    }
8496    leaf update-table-vrf-name {
8497      type string;
8498      description
8499        "VRF Name";
8500    }
8501    leaf update-vrfaf-name {
8502      type uint32;
8503      description
8504        "Address family identifier";
8505    }
8506    leaf update-vrf-rd-version {
8507      type uint64;8750      type uint32;
8508      description8751      units "byte";
8509        "RD Version";
8510    }
8511    leaf update-vrf-table-rib-version {
8512      type uint64;
8513      description
8514        "VRF Table RIB version";
8515    }
8516    leaf table-inter-afi-import-advertise {
8517      type boolean;
8518      description
8519        "InterAfi Import Advertise";
8520    }
8521    leaf table-inter-afi-export-allow-imported-vpn {
8522      type boolean;
8523      description
8524        "InterAfi Export Allow Imported VPN";
8525    }
8526    leaf export-allow-imported-vpn {
8527      type boolean;
8528      description
8529        "Export Allow Imported VPN";
8530    }
8531    leaf vrf-import-advertise {
8532      type boolean;
8533      description
8534        "Vrf Import Advertise";
8535    }
8536    leaf table-update-group-count {
8537      type uint32;
8538      description
8539        "Number of virtual routing and forwarding table
8540         update groups";
8541    }
8542    leaf update-table-sub-group-count {
8543      type uint32;
8544      description
8545        "Number of virtual routing and forwarding table
8546         sub groups";
8547    }
8548    leaf table-sub-group-throttled-count {
8549      type uint32;
8550      description
8551        "VRF Table throttled sub-group count";
8552    }
8553    leaf table-refresh-sub-group-count {
8554      type uint32;
8555      description
8556        "Number of virtual routing and forwarding table
8557         refresh sub groups";
8558    }
8559    leaf table-refresh-sub-group-throttled-count {
8560      type uint32;
8561      description
8562        "VRF Table throttled refresh sub-group count";
8563    }
8564    leaf update-table-filter-group-count {
8565      type uint32;
8566      description
8567        "Number of virtual routing and forwarding table
8568         filter groups";
8569    }
8570    leaf table-neighbor-count {
8571      type uint32;
8572      description
8573        "Number of virtual routing and forwarding table
8574         neighbors";
8575    }
8576  }
8577 
8578  grouping BGP-SLOW-PEER-VER-BAG {
8579    description8752      description
8580      "BGP Slow peer version information";8753        "Total bytes read";
8581    leaf slow-peer-start-version {8754    }
8755    leaf socket-read-bytes {
8582      type uint64;8756      type uint32;
8583      description8757      units "byte";
8584        "Slow Peer Start Version";
8585    }
8586    leaf slow-peer-end-version {
8587      type uint64;
8588      description
8589        "Slow Peer End Version";
8590    }
8591  }
8592 
8593  grouping BGP-UPDGEN-NBR-BAG {
8594    description8758      description
8595      "BGP Update generation Neighbor information";8759        "Total read bytes value insocket-lib";
8596    container update-neighbor-address {8760    }
8761    leaf is-read-disabled {
8762      type boolean;
8763      description
8764        "If true, socket read isdisabled";
8765    }
8766    leaf update-bytes-read {
8767      type uint32;
8768      units "byte";
8769      description
8770        "Total update bytes read";
8771    }
8772    leaf nsr-state {
8773      type Bgp-sync-nbr-nsr-state;
8774      description
8775        "NSR state";
8776    }
8777    leaf is-passive-close {
8778      type boolean;
8779      description
8780        "If true, active socket canbe closed if passive
8781         openis received for a GRcapable neighbor";
8782    }
8783    leaf nbr-enforce-first-as {
8784      type boolean;
8785      description
8786        "Neighbor enforce first AS";
8787    }
8788    leaf active-bmp-servers {
8789      type uint8;
8790      description
8791        "BMP Servers to which the neighbor sends logs";
8792    }
8793    leaf nbr-cluster-id {
8794      type uint32;
8795      description
8796        "Cluster id";
8797    }
8798    leaf nbr-in-cluster {
8799      type uint8;
8800      description
8801        "Type of cluster_id:undefined/number/Ip address";
8802    }
8803    leaf ignore-connected {
8804      type boolean;
8805      description
8806        "If true, the VPN client isan IBGP CE peer";
8807    }
8808    leaf internal-vpn-client {
8809      type boolean;
8810      description
8811        "If true, don't do NHconnected check for nbr";
8812    }
8813    leaf io-armed {
8814      type boolean;
8815      description
8816        "If true, socket has beenauto-armed for io
8817         control";
8818    }
8819    leaf read-armed {
8820      type boolean;
8821      description
8822        "If true, socket has beenauto-armed for read";
8823    }
8824    leaf write-armed {
8825      type boolean;
8826      description
8827        "If true, socket has beenauto-armed for write";
8828    }
8829    leaf discard-data-bytes {
8830      type uint32;
8831      units "byte";
8832      description
8833        "Remaining discard data (bytes) on Standby";
8834    }
8835    leaf local-as-replace-as {
8836      type boolean;
8837      description
8838        "Local AS Replace-AS option";
8839    }
8840    leaf local-as-dual-as {
8841      type boolean;
8842      description
8843        "Local AS Dual-AS option";
8844    }
8845    leaf local-as-dual-as-mode-native {
8846      type boolean;
8847      description
8848        "Applies only if Local AS Dual-AS option is
8849         enabled. Indicates if Dual-AS mode is native.";
8850    }
8851    leaf egress-peer-engineering-enabled {
8852      type boolean;
8853      description
8854        "Indicates if Egress Peer Engineering is enabled";
8855    }
8856    leaf discard-as4-path {
8857      type uint32;
8858      description
8859        "Discard AS4_PATH in case there is a discrepancy
8860         in merging AS_PATH and AS4_PATH,retain ASPATH";
8861    }
8862    leaf rpki-disable {
8863      type boolean;
8864      description
8865        "Prefix validation disabled";
8866    }
8867    leaf rpki-use-validity {
8868      type boolean;
8869      description
8870        "Prefix v. use validity";
8871    }
8872    leaf rpki-allow-invalid {
8873      type boolean;
8874      description
8875        "Prefix v. allow invalid";
8876    }
8877    leaf rpki-signal-ibgp {
8878      type boolean;
8879      description
8880        "Prefix v. signal ibgp";
8881    }
8882    leaf dynamic-neighbor {
8883      type boolean;
8884      description
8885        "Dynamic neighbor";
8886    }
8887    leaf merge-inbound-safi1and4-updates {
8888      type boolean;
8889      description
8890        "Merge SAFI-1 and SAFI-4 updates from neighbor";
8891    }
8892    list af-data {
8893      max-elements "25";
8894      description
8895        "Address family specific neighbor data";
8896      uses BGP-NBR-AF;
8897    }
8898  }
8899 
8900  grouping BGP-PATH-MULTI {
8597      description8901    description
8902      "BGP path set";
8903    list paths {
8904      description
8905        "paths";
8906      uses BGP-PATH-BAG;
8907    }
8908    list adv-path-info {
8909      description
8910        "Net Advertized Paths";
8911      uses BGP-PATH-ADV-BAG;
8912    }
8913  }
8914 
8915  grouping BGP-NBR-ADV-CNT-BAG {
8916    description
8917      "BGP Neighbor adv cnt bag";
8918    leaf max-prefix-advertisedcount {
8919      type uint32;
8920      description
8921        "Number of prefixes advertsied to neighbor";
8922    }
8923  }
8924 
8925  grouping BGP-EPE-SET-BAG {
8926    description
8927      "BGP EPE SET BAG";
8928    container epe-local-address {
8929      description
8598        "Neighbor address";8930        "Local address";
8599      uses BGP-ADDRTYPE;8931      uses BGP-ADDRTYPE;
8600    }8932    }
n8601    container last-sub-group-add-timestamp {n8933    container epe-next-hop {
8602      description
8603        "Last added time";
8604      uses BGP-TIMESPEC;
8605    }
8606    container last-sub-group-remove-timestamp {
8607      description
8608        "Last removed time";
8609      uses BGP-TIMESPEC;
8610    }
8611    container last-filter-group-add-timestamp {
8612      description
8613        "Last added time";
8614      uses BGP-TIMESPEC;
8615    }
8616    container last-filter-group-remove-timestamp {
8617      description
8618        "Last removed time";
8619      uses BGP-TIMESPEC;
8620    }
8621    container first-default-originate-timestamp {
8622      description
8623        "Timestamp when the first default-origination was
8624         done";
8625      uses BGP-TIMESPEC;
8626    }
8627    container last-default-originate-timestamp {
8628      description
8629        "Timestamp when the last default-origination was
8630         done";
8631      uses BGP-TIMESPEC;
8632    }
8633    container last-update-group-start-timestamp {
8634      description
8635        "Last update-group timer start";
8636      uses BGP-TIMESPEC;
8637    }
8638    container last-update-group-expiry-timestamp {
8639      description
8640        "Last update-group timer expiry";
8641      uses BGP-TIMESPEC;
8642    }
8643    container first-update-queued-timestamp {
8644      description
8645        "Timestamp when the first update was queued";
8646      uses BGP-TIMESPEC;
8647    }
8648    container last-update-queued-timestamp {
8649      description
8650        "Timestamp when last update was queued";
8651      uses BGP-TIMESPEC;
8652    }
8653    container last-refresh-update-queued-timestamp {
8654      description
8655        "Timestamp when the last refresh update was
8656         queued";
8657      uses BGP-TIMESPEC;
8658    }
8659    container first-update-write-timestamp {
8660      description
8661        "Timestamp when the first update was written";
8662      uses BGP-TIMESPEC;
8663    }
8664    container last-update-write-timestamp {
8665      description
8666        "Timestamp when the last update was  written";
8667      uses BGP-TIMESPEC;
8668    }
8669    container last-refresh-update-write-timestamp {
8670      description
8671        "Timestamp when the last refresh update written";
8672      uses BGP-TIMESPEC;
8673    }
8674    container update-statistics {
8675      description
8676        "BGP update generation statistics update";
8677      uses BGP-UPDGEN-STATS-BAG;
8678    }
8679    leaf process-id {
8680      type uint32;
8681      description
8682        "ProcessID";
8683    }
8684    leaf update-vrf-name {
8685      type string;
8686      description
8687        "VRF Name";
8688    }
8689    leaf update-group-af-name {
8690      type Bgp-afi;
8691      description
8692        "Address family identifier";
8693    }
8694    leaf update-filter-group-index {
8695      type uint32;
8696      description
8697        "Filter-group index";
8698    }
8699    leaf refresh-filter-group-index {
8700      type uint32;
8701      description
8702        "BGP update generation refresh Filter-group index";
8703    }
8704    leaf sub-group-index-xr {
8705      type uint32;
8706      description
8707        "BGP update generation index for sub-group";
8708    }
8709    leaf refresh-sub-group-index {
8710      type uint32;
8711      description
8712        "BGP update generation refresh Sub-group index";
8713    }
8714    leaf refresh-sub-group-id {
8715      type uint32;
8716      description
8717        "ID of the refresh subgroup for BGP update
8718         generation";
8719    }
8720    leaf update-group-index-xr {
8721      type uint32;
8722      description
8723        "Index of this BGP Update-group";
8724    }
8725    leaf update-main-table-version {
8726      type uint64;
8727      description
8728        "Main table version";
8729    }
8730    leaf update-vrf-table-rib-version {
8731      type uint64;
8732      description
8733        "VRF Table RIB version";
8734    }
8735    leaf update-out-queue-messages {
8736      type uint32;
8737      description
8738        "OutQueue messages";
8739    }
8740    leaf update-out-queue-size {
8741      type uint32;
8742      description
8743        "OutQueue size";
8744    }
8745    leaf refresh-update-out-queue-messages {
8746      type uint32;
8747      description
8748        "Refresh OutQueue messages";
8749    }
8750    leaf refresh-update-out-queue-size {
8751      type uint32;
8752      description
8753        "Refresh OutQueue size";
8754    }
8755    leaf update-filter-group-messages {
8756      type uint32;
8757      description
8758        "The number of messages on the BGP filter-group";
8759    }
8760    leaf version {
8761      type uint64;
8762      description
8763        "Version up to which we have generated updates
8764         for BGP";
8765    }
8766    leaf pending-target-version {
8767      type uint64;
8768      description
8769        "Version of pending target for BGP update
8770         generation";
8771    }
8772    leaf next-resume-version {
8773      type uint64;
8774      description
8775        "Version number identifying the next to process
8776         when tablewalk has been interrupted";
8777    }
8778    leaf ack-version {
8779      type uint64;
8780      description
8781        "Identifying the prefixs that have been
8782         advertisedto the peer and acknowledged by it";
8783    }
8784    leaf synced-ack-version {
8785      type uint64;
8786      description
8787        "Peer acked version that was previously
8788         synchronized";
8789    }
8790    leaf outstanding-version-count {
8791      type uint32;
8792      description
8793        "The number of all outstanding version objects
8794         for thisneighbor address-family";
8795    }
8796    leaf update-refresh-version {
8797      type uint64;
8798      description
8799        "Refresh version";
8800    }
8801    leaf refresh-requested-target-version {
8802      type uint64;
8803      description
8804        "Requested refresh target version";
8805    }
8806    leaf update-refresh-target-version {
8807      type uint64;
8808      description
8809        "Target version for update generation in response
8810         to arefresh request";
8811    }
8812    leaf refresh-pending-target-version {
8813      type uint64;
8814      description
8815        "Pending refresh target version";
8816    }
8817    leaf refresh-next-resume-version {
8818      type uint64;
8819      description
8820        "Version number identifying the next to process
8821         whena table walk has been interrupted";
8822    }
8823    leaf refresh-ack-version {
8824      type uint64;
8825      description
8826        "Versio of the Refresh Ack for BGP update
8827         generation";
8828    }
8829    leaf last-default-originate-age {
8830      type uint32;
8831      units "second";
8832      description
8833        "Time since last default-origination event (in
8834         seconds)";
8835    }
8836    leaf default-originate-state {
8837      type int32;
8838      description
8839        "BGP update generation default originate state
8840         information";
8841    }
8842    leaf default-originate-internal-context {
8843      type int32;
8844      description
8845        "BGP update generation default originate context
8846         stateinformation";
8847    }
8848    leaf is-eor-outstanding {
8849      type boolean;
8850      description
8851        "Number of EORs outstanding";
8852    }
8853    leaf outbound-refresh-count {
8854      type uint32;
8855      description
8856        "Refresh Outbound count";
8857    }
8858    leaf inbound-refresh-count {
8859      type uint32;
8860      description
8861        "Refresh Inbound count";
8862    }
8863    leaf is-update-group-timer-running {
8864      type boolean;
8865      description
8866        "Flag to indicate if update-group timer is
8867         running";
8868    }
8869    leaf current-update-group-af-name {
8870      type Bgp-afi;
8871      description
8872        "Current Update-group address-family identifier";
8873    }
8874    leaf last-update-group-af-name {
8875      type Bgp-afi;
8876      description
8877        "Last Update-group address-family identifier";
8878    }
8879    leaf last-update-queued-age {
8880      type uint32;
8881      units "second";
8882      description
8883        "Time since last update queued event (in seconds)";
8884    }
8885    leaf last-refresh-update-queued-age {
8886      type uint32;
8887      units "second";
8888      description
8889        "Time since last refresh update queued event (in
8890         seconds)";
8891    }
8892    leaf last-update-write-age {
8893      type uint32;
8894      units "second";
8895      description
8896        "Time since last update write event (in seconds)";
8897    }
8898    leaf last-refresh-update-write-age {
8899      type uint32;
8900      units "second";
8901      description
8902        "Time since last refresh update write event (in
8903         seconds)";
8904    }
8905    leaf slow-peer-static-or-dynamic {
8906      type Bgp-slow-peer-static-dynamic;
8907      description
8908        "Slow Peer in static or dynamic detected state";
8909    }
8910    leaf slow-peer-detection-time-stamp {
8911      type uint32;
8912      description
8913        "Slow Peer Detection Timestamp";
8914    }
8915    leaf is-neighbor-slow-peer-static {
8916      type boolean;
8917      description
8918        "Is Neighbor Slow Peer Static";
8919    }
8920    leaf neighbor-refresh-state {
8921      type Bgp-updgen-nbr-refresh-state;
8922      description
8923        "Neighbor Refresh State";
8924    }
8925    leaf update-msg-pointer {
8926      type uint64;
8927      description
8928        "Update Message pointer";
8929    }
8930    list slow-peer-versions {
8931      description
8932        "List of slow peer versions";
8933      uses BGP-SLOW-PEER-VER-BAG;
8934    }
8935  }
8936 
8937  grouping BGP-LINKED-EPE {
8938    description8934      description
8939      "BGP LINKED EPE";8935        "Nexthop address";
8936      uses BGP-ADDRTYPE;
8937    }
8940    leaf epe-key-length {8938    leaf epe-key-length-xr {
8941      type uint8;8939      type uint8;
8942      description8940      description
8943        "EPE key length in bits";8941        "EPE key length in bits";
8944    }8942    }
n8945    leaf epe-type {n8943    leaf epe-version {
8944      type uint32;
8945      description
8946        "EPE object's version";
8947    }
8948    leaf epe-flags {
8946      type uint8;8949      type uint8;
8947      description8950      description
n8948        "Type of EPE object";n8951        "EPE object's flags";
8952    }
8953    leaf epe-local-asn {
8954      type uint32;
8955      description
8956        "Local AS Number";
8957    }
8958    leaf epe-remote-asn {
8959      type uint32;
8960      description
8961        "Remote AS Number";
8962    }
8963    leaf epe-remote-router-id {
8964      type uint32;
8965      description
8966        "Remote router id";
8967    }
8968    leaf epe-local-router-id {
8969      type uint32;
8970      description
8971        "Local router id";
8972    }
8973    leaf label {
8974      type uint32;
8975      description
8976        "Label assigned to the RPCnext-hop set";
8977    }
8978    leaf ref-count {
8979      type uint32;
8980      description
8981        "Refcount";
8982    }
8983    leaf rpc-set-object-id {
8984      type uint32;
8985      description
8986        "RPC set object ID";
8949    }8987    }
8950    list epe-key {8988    list epe-key {
8951      description8989      description
8952        "Key of EPE object";8990        "Key of EPE object";
8953      leaf entry {8991      leaf entry {
8954        type uint8;8992        type uint8;
8955        description8993        description
8956          "Key of EPE object";8994          "Key of EPE object";
8957      }8995      }
8958    }8996    }
n8959  }n
8960 
8961  grouping BGP-EPE-SET-BAG {
8962    description
8963      "BGP EPE SET BAG";
8964    container epe-local-address {
8965      description
8966        "Local address";
8967      uses BGP-ADDRTYPE;
8968    }
8969    container epe-next-hop {
8970      description
8971        "Nexthop address";
8972      uses BGP-ADDRTYPE;
8973    }
8974    leaf epe-key-length {
8975      type uint8;
8976      description
8977        "EPE key length in bits";
8978    }
8979    leaf epe-type-xr {
8980      type uint8;
8981      description
8982        "Type of EPE object";
8983    }
8984    leaf epe-version {
8985      type uint64;
8986      description
8987        "EPE object's version";
8988    }
8989    leaf epe-flags {
8990      type uint16;
8991      description
8992        "EPE object's flags";
8993    }
8994    leaf epe-local-asn {
8995      type uint32;
8996      description
8997        "Local AS Number";
8998    }
8999    leaf epe-remote-asn {
9000      type uint32;
9001      description
9002        "Remote AS Number";
9003    }
9004    leaf epe-remote-router-id {
9005      type uint32;
9006      description
9007        "BGP egress peer engineeringremote router id";
9008    }
9009    leaf epe-local-router-id {
9010      type uint32;
9011      description
9012        "BGP egress peer engineeringlocal router id";
9013    }
9014    leaf label {
9015      type uint32;
9016      description
9017        "Label assigned to the RPCnext-hop set";
9018    }
9019    leaf ref-count {
9020      type uint32;
9021      description
9022        "Reference count indicates numberof places being
9023         updated";
9024    }
9025    leaf rpc-set-object-id {
9026      type uint32;
9027      description
9028        "RPC set object ID";
9029    }
9030    list epe-key {
9031      description
9032        "Key of EPE object";
9033      leaf entry {
9034        type uint8;
9035        description
9036          "Key of EPE object";
9037      }
9038    }
9039    list nexthop-id {8997    list nexthop-id {
9040      description8998      description
9041        "List of nexthop ID of EPE";8999        "List of nexthop ID of EPE";
9042      leaf entry {9000      leaf entry {
9043        type uint32;9001        type uint32;
9044        description9002        description
9045          "List of nexthop ID of EPE";9003          "List of nexthop ID of EPE";
9046      }9004      }
9047    }9005    }
9048    list ifhandle {9006    list ifhandle {
9049      description9007      description
9050        "List of ifhandle of EPE";9008        "List of ifhandle of EPE";
9051      leaf entry {9009      leaf entry {
9052        type uint32;9010        type uint32;
9053        description9011        description
9054          "List of ifhandle of EPE";9012          "List of ifhandle of EPE";
9055      }9013      }
9056    }9014    }
9057    list first-hop {9015    list first-hop {
9058      description9016      description
9059        "List of firsthops of EPE";9017        "List of firsthops of EPE";
9060      uses BGP-ADDRTYPE;9018      uses BGP-ADDRTYPE;
9061    }9019    }
n9062    list linked-epe {n9020  }
9021 
9022  grouping BGP-PATH-ELEM-BAG {
9063      description9023    description
9064        "List of EPE objects linked to this current EPE9024      "BGP path element";
9065         object";9025    container pelem-path-nexthop {
9066      uses BGP-LINKED-EPE;
9067    }
9068  }
9069 
9070  grouping BGP-NBR-THROTL-STATS-BAG {
9071    description9026      description
9072      "BGP NBR THROTL STATS BAG";9027        "Path nexthop address";
9073    leaf throttle-start-time {9028      uses BGP-ADDRTYPE;
9029    }
9030    container nh-tunnel {
9031      description
9032        "NH tunnel information";
9033      uses BGP-TE-TUNNEL;
9034    }
9035    container pelem-path-neighbor-addr {
9036      description
9037        "Path neighbor address";
9038      uses BGP-ADDRTYPE;
9039    }
9040    leaf pelem-path-id {
9041      type uint32;
9042      description
9043        "Local Path ID";
9044    }
9045    leaf pelem-version {
9046      type uint32;
9047      description
9048        "Version";
9049    }
9050    leaf pelem-flags {
9051      type uint32;
9052      description
9053        "Flags";
9054    }
9055    leaf pelem-gw-metric {
9056      type uint32;
9057      description
9058        "Gateway metric";
9059    }
9060    leaf pelem-path-flags {
9074      type uint64;9061      type uint64;
9075      description9062      description
n9076        "Time when the IO operation for the neighborn9063        "Path flags";
9077         entered the throttled state in nsec since epoch";
9078    }
9079    leaf throttle-duration {
9080      type uint32;
9081      description
9082        "Duration of the throttled state in msec";
9083    }
9084    leaf throttle-msg-count {
9085      type uint32;
9086      description
9087        "Number of messages handled during throttled
9088         state";
9089    }
9090    leaf throttle-queue-hwm {
9091      type uint32;
9092      description
9093        "High watermark of the number of messages in
9094         queue during throttled state";
9095    }
9096  }9064    }
9097 9065    leaf pelem-path-peer-path-id {
9098  grouping BGP-NBR-GSHUT {9066      type uint32;
9099    description9067      description
9100      "BGP NBR GSHUT";9068        "Path peer path ID";
9101    leaf gshut-exists {
9102      type boolean;
9103      description
9104        "Graceful Maintenance enabled";
9105    }9069    }
n9106    leaf gshut-local-active {n9070    leaf pelem-table-attr-version {
9107      type boolean;
9108      description
9109        "Graceful Maintenance locally activated";
9110    }
9111    leaf gshut-active {
9112      type boolean;
9113      description
9114        "Graceful Maintenance activated";
9115    }
9116    leaf gshut-locpref-set {
9117      type boolean;
9118      description
9119        "Graceful Maintenance Local Preference set";
9120    }
9121    leaf gshut-locpref {
9122      type uint32;
9123      description
9124        "Graceful Maintenance Local Preference";
9125    }
9126    leaf gshut-prepends {
9127      type uint8;9071      type uint32;
9128      description
9129        "Graceful Maintenance number of AS prepends";
9130    }
9131    leaf gshut-interface-active {
9132      type boolean;
9133      description
9134        "Graceful Maintenance activated at Interface";
9135    }
9136    leaf gshut-location-active {
9137      type boolean;
9138      description
9139        "Graceful Maintenance activated at Location";
9140    }
9141    leaf gshut-all-nbr-active {
9142      type boolean;
9143      description
9144        "Graceful Maintenance globally activated";
9145    }
9146    leaf gshut-bandwidth-aware-set {
9147      type boolean;
9148      description
9149        "Graceful Maintenance Bandwidth Aware Configured";
9150    }
9151    leaf gshut-bandwidth-aware-state {
9152      type Bgp-gshut-bw-edm-state;
9153      description
9154        "Graceful Maintenance Bandwidth Aware Operational
9155         State";
9156    }
9157    leaf gshut-bandwidth-aware-effective-link-bandwidth {
9158      type uint64;
9159      description
9160        "Effective Link Bandwidth";
9161    }
9162    leaf gshut-bandwidth-aware-total-link-bandwidth {
9163      type uint64;
9164      description
9165        "Total Link Bandwidth";
9166    }
9167  }
9168 
9169  grouping BGP-NBR-MSG-STATS-UNIT {
9170    description9072      description
9171      "BGP NBR MSG STATS UNIT";9073        "Table Attr version";
9172    container last-time-spec {9074    }
9075    leaf pelem-path-table-attr-version {
9076      type uint32;
9077      description
9078        "Path Table Attr version";
9079    }
9080    leaf pelem-no-bestpath-table-attr-version {
9081      type uint32;
9082      description
9083        "No-bestpath Table Attr version";
9084    }
9085    leaf pelem-no-addpath-table-attr-version {
9086      type uint32;
9087      description
9088        "No-addpath Table Attr version";
9089    }
9090    leaf is-perm-path-pelem {
9091      type boolean;
9092      description
9093        "Pelem for permanent path";
9094    }
9095  }
9096 
9097  grouping BGP-NET-BAG {
9173      description9098    description
9174        "BGP neighbor message statisticslast timespec";9099      "BGP network";
9100    container bgp-prefix {
9101      description
9102        "BGP prefix";
9103      uses BGP-PREFIXTYPE;
9104    }
9105    container version-timestamp {
9106      description
9107        "Version timestamp";
9175      uses BGP-TIMESPEC;9108      uses BGP-TIMESPEC;
9176    }9109    }
n9177    leaf count {n9110    container version-age {
9178      type uint32;
9179      description
9180        "Count";
9181    }
9182  }
9183 
9184  grouping BGP-NBR-MSG-STATS-OP {
9185    description9111      description
9186      "BGP NBR MSG STATS OP";9112        "Version age";
9187    container tx {9113      uses BGP-TIMESPEC;
9188      description
9189        "Transmit";
9190      uses BGP-NBR-MSG-STATS-UNIT;
9191    }
9192    container rx {
9193      description
9194        "Receive";
9195      uses BGP-NBR-MSG-STATS-UNIT;
9196    }
9197  }
9198 
9199  grouping BGP-NBR-MSG-STATS {
9200    description
9201      "BGP NBR MSG STATS";
9202    container open {
9203      description
9204        "Open";
9205      uses BGP-NBR-MSG-STATS-OP;
9206    }
9207    container notification {
9208      description
9209        "BGP neighbor messagestatistics notification";
9210      uses BGP-NBR-MSG-STATS-OP;
9211    }
9212    container update {
9213      description
9214        "BGP neighbor message statisticsupdate";
9215      uses BGP-NBR-MSG-STATS-OP;
9216    }
9217    container keepalive {
9218      description
9219        "Message sent between BGP neighborsto check the
9220         link between is operating";
9221      uses BGP-NBR-MSG-STATS-OP;
9222    }
9223    container route-refresh {
9224      description
9225        "BGP neighbor message statisticsroute refresh";
9226      uses BGP-NBR-MSG-STATS-OP;
9227    }
9228    container total {
9229      description
9230        "Total";
9231      uses BGP-NBR-MSG-STATS-OP;
9232    }
9233  }
9234 
9235  grouping BGP-PERF-NBR-AF {
9236    description
9237      "BGP PERF NBR AF";
9238    leaf sub-group-pending-message-count {
9239      type uint32;
9240      description
9241        "No. of sub-group messages waiting to be sent out
9242         on this neighbor -- DEPRECATED -- ";
9243    }
9244    leaf processed-messages {
9245      type uint32;
9246      description
9247        "Number of messages processed from the neighbor's
9248         write queue";
9249    }
9250    leaf sent-messages {
9251      type uint32;
9252      description
9253        "Number of messages sent from the neighbor's
9254         write queue";
9255    }
9256    leaf split-horizon-update-transmit {
9257      type uint32;
9258      description
9259        "No. of update messages with split-horizon flag
9260         that were sent out";
9261    }
9262    leaf split-horizon-update-blocked {
9263      type uint32;
9264      description
9265        "No. of update messages with split-horizon flag
9266         that were blocked";
9267    }
9268    leaf split-horizon-withdraw-transmit {
9269      type uint32;
9270      description
9271        "No. of withdraw messages with split-horizon flag
9272         that were sent out";
9273    }
9274    leaf split-horizon-withdraw-blocked {
9275      type uint32;
9276      description
9277        "No. of withdraw messages with split-horizon flag
9278         that were blocked";
9279    }
9280    leaf refresh-mismatch-update-blocked {
9281      type uint32;
9282      description
9283        "No. of update messages blocked due toRefresh
9284         subgroup mismatch";
9285    }
9286    leaf refresh-mismatch-withdraw-spurious {
9287      type uint32;
9288      description
9289        "No. of withdraw messages spuriously blocked due
9290         toRefresh subgroup mismatch";
9291    }
9292  }
9293 
9294  grouping BGP-NBR-AF {
9295    description
9296      "BGP neighbor address family specific information";
9297    container neighbor-af-performance-statistics {
9298      description
9299        "Neighbor AF statistics";
9300      uses BGP-PERF-NBR-AF;
9301    }9114    }
9302    leaf af-name {9115    leaf af-name {
9303      type Bgp-afi;9116      type Bgp-afi;
9304      description9117      description
9305        "Address family identifier";9118        "Address family identifier";
9306    }9119    }
n9307    leaf is-neighbor-route-reflector-client {n9120    leaf process-instance-id {
9308      type boolean;
9309      description
9310        "Nbr is a route reflector client";
9311    }
9312    leaf is-legacy-pe-rt {
9313      type boolean;
9314      description
9315        "Nbr accepts route from legacy PE for
9316         RT-Constraint AF ";
9317    }
9318    leaf is-neighbor-af-capable {
9319      type boolean;
9320      description
9321        "Address family capability received from neighbor";
9322    }
9323    leaf is-soft-reconfiguration-inbound-allowed {
9324      type boolean;
9325      description
9326        "Inbound soft reconfiguration allowed";
9327    }
9328    leaf is-use-soft-reconfiguration-always-on {
9329      type boolean;
9330      description
9331        "Soft reconf overrides route refresh";
9332    }
9333    leaf remove-private-as-from-updates {
9334      type boolean;
9335      description
9336        "Private AS numbers removed from updates to this
9337         nbr";
9338    }
9339    leaf remove-private-as-entire-aspath-from-updates {
9340      type boolean;
9341      description
9342        "Private AS numbers removed from updates to
9343         thisnbr only if the aspath hasonly private ASes";
9344    }
9345    leaf remove-private-as-from-inbound-updates {
9346      type boolean;
9347      description
9348        "Private AS numbers removed from updates from
9349         this nbr";
9350    }
9351    leaf remove-private-as-entire-aspath-from-inbound-updates {
9352      type boolean;
9353      description
9354        "Private AS numbers removed from updates from
9355         this nbr only if the aspath has only private
9356         ASes";
9357    }
9358    leaf flowspec-validation-d-isable {
9359      type boolean;
9360      description
9361        "Flag to indicate if bgp neighbor address-family
9362         flowspec validation is disabled";
9363    }
9364    leaf flowspec-redirect-validation-d-isable {
9365      type boolean;
9366      description
9367        "Flag to indicate if flowspec redirect nexthop
9368         validation is disabled";
9369    }
9370    leaf orr-group-name {
9371      type string;
9372      description
9373        "ORR Group Name";
9374    }
9375    leaf orr-group-index {
9376      type uint32;
9377      description
9378        "ORR Group Index";
9379    }
9380    leaf is-orr-root-address-configured {
9381      type boolean;
9382      description
9383        "ORR Root address configuredfor the neighbor
9384         connection";
9385    }
9386    leaf advertise-afi {
9387      type boolean;
9388      description
9389        "Encode in Advertise AFI";
9390    }
9391    leaf advertise-afi-reorg {
9392      type boolean;
9393      description
9394        "Encode in Advertise AFI";
9395    }
9396    leaf advertise-afi-disable {
9397      type boolean;
9398      description
9399        "Encode in Advertise AFI";
9400    }
9401    leaf encapsulation-type {
9402      type uint32;
9403      description
9404        "BGP neighbor address-familyencapsulation type";
9405    }
9406    leaf advertise-rt-type {
9407      type uint8;9121      type uint8;
9408      description9122      description
n9409        "BGP neighbor address-familyadvertise routen9123        "Process instance ID";
9410         target type";
9411    }9124    }
n9412    leaf advertise-afi-def-vrf-imp-disable {n9125    leaf has-inconsistent-paths {
9413      type boolean;9126      type boolean;
n9414      descriptionn
9415        "Advertise of default VRF import disable";
9416    }
9417    leaf advertise-evpnv4-afi-def-vrf-imp-disable {
9418      type boolean;
9419      description
9420        "Advertise of v4 default VRF import disable";
9421    }
9422    leaf advertise-evpnv6-afi-def-vrf-imp-disable {
9423      type boolean;
9424      description
9425        "Advertise of v6 default VRF import disable";
9426    }
9427    leaf advertise-afi-vrf-re-imp-disable {
9428      type boolean;
9429      description
9430        "Advertise of VRF re-import disable";
9431    }
9432    leaf advertise-evpnv4-afi-vrf-re-imp-disable {
9433      type boolean;
9434      description
9435        "Advertise of v4 VRF re-import disable";
9436    }
9437    leaf advertise-evpnv6-afi-vrf-re-imp-disable {
9438      type boolean;
9439      description
9440        "Advertise of v6 VRF re-import disable";
9441    }
9442    leaf advertise-afi-eo-r-ready {
9443      type boolean;
9444      description
9445        "EoR Can be sent for Advertise AFI";
9446    }
9447    leaf always-use-next-hop-local {
9448      type boolean;
9449      description
9450        "Local router always used for next-hop";
9451    }
9452    leaf sent-community-to-neighbor {
9453      type boolean;
9454      description
9455        "Community attribute sent to neighbor";
9456    }
9457    leaf sent-gshut-community-to-neighbor {
9458      type boolean;
9459      description
9460        "GSHUT Community attribute sent to neighbor";
9461    }
9462    leaf sent-extended-community-to-neighbor {
9463      type boolean;
9464      description
9465        "Extended community attribute sent to neighbor";
9466    }
9467    leaf default-originate-vpn-index {
9468      type uint32;
9469      description
9470        "Default orig vpn indexto find bitfield for a nbr
9471         af";
9472    }
9473    leaf neighbor-default-originate {
9474      type boolean;
9475      description
9476        "Neighbor originates default";
9477    }
9478    leaf is-orf-sent {
9479      type boolean;
9480      description
9481        "Outbound route filter sent to neighbor";
9482    }
9483    leaf is-update-deferred {
9484      type boolean;
9485      description
9486        "Update deferred until ORF/route refresh received";
9487    }
9488    leaf is-orf-send-scheduled {
9489      type boolean;
9490      description
9491        "Scheduled to send prefix based ORF";
9492    }
9493    leaf update-group-number {
9494      type uint32;
9495      description
9496        "Update group index";
9497    }
9498    leaf filter-group-index {
9499      type uint32;
9500      description
9501        "BGP neighbor address-familyfilter group index";
9502    }
9503    leaf is-update-throttled {
9504      type boolean;
9505      description
9506        "Updates Throttled becausewrite limit is reached";
9507    }
9508    leaf is-update-leaving {
9509      type boolean;
9510      description
9511        "Nbr leaving update-groupto another";
9512    }
9513    leaf vpn-update-gen-enabled {
9514      type boolean;
9515      description
9516        "RT Nbr enabled for updategento another";
9517    }
9518    leaf vpn-update-gen-trigger-enabled {
9519      type boolean;
9520      description
9521        "RT Nbr enabled for updategento another";
9522    }
9523    leaf is-addpath-send-operational {
9524      type boolean;
9525      description
9526        "Addpath is operational on send-side";
9527    }
9528    leaf is-addpath-receive-operational {
9529      type boolean;
9530      description
9531        "Addpath is operational on receive-side";
9532    }
9533    leaf neighbor-version {
9534      type uint64;
9535      description
9536        "BGP neighbor version for theaddress-family";
9537    }
9538    leaf weight {
9539      type uint32;
9540      description
9541        "Weight for this AF";
9542    }
9543    leaf max-prefix-limit {
9544      type uint32;
9545      description
9546        "Max limit for # of prefixes";
9547    }
9548    leaf use-max-prefix-warning-only {
9549      type boolean;
9550      description
9551        "Warning only when maximum prefix limit reached";
9552    }
9553    leaf max-prefix-discard-extra-paths {
9554      type boolean;
9555      description
9556        "Discard extra paths when prefix limit reached";
9557    }
9558    leaf max-prefix-exceed-discard-paths {
9559      type boolean;
9560      description
9561        "Did we discard extra paths when prefix limit
9562         reached";
9563    }
9564    leaf max-prefix-threshold-percent {
9565      type uint8;
9566      units "percentage";
9567      description
9568        "Percentage of maximum no. of prefixes at which
9569         to generate warning";
9570    }
9571    leaf max-prefix-discard-paths-count {
9572      type uint32;
9573      description
9574        "Number of discarded paths after prefix limit
9575         reached";
9576    }
9577    leaf max-prefix-restart-time {
9578      type uint16;
9579      units "minute";
9580      description
9581        "Time interval (in minutes) after which peering
9582         session will be reestablished";
9583    }
9584    leaf prefixes-accepted {
9585      type uint32;
9586      description
9587        "Number of prefixes acceptedfrom this BGP
9588         neighbor";
9589    }
9590    leaf prefixes-accepted-hwm {
9591      type uint32;
9592      description
9593        "Number of prefixes acceptedfrom this BGP
9594         neighbor High Water Mark";
9595    }
9596    leaf prefixes-accepted-hwm-timestamp {
9597      type uint64;
9598      description
9599        "Time When prefixes accepted entered high water
9600         mark";
9601    }
9602    leaf prefixes-accepted-modified {
9603      type uint32;
9604      description
9605        "Number of prefixes accepted modifed by
9606         soft-reconfigfrom this BGP neighbor";
9607    }
9608    leaf prefixes-accepted-modified-hwm {
9609      type uint32;
9610      description
9611        "Number of prefixes accepted modifed by
9612         soft-reconfigfrom this BGP neighbor High Water
9613         Mark";
9614    }
9615    leaf prefixes-accepted-modified-hwm-timestamp {
9616      type uint64;
9617      description
9618        "Time When prefixes accepted modified entered
9619         high water mark";
9620    }
9621    leaf prefixes-synced {
9622      type uint32;
9623      description
9624        "Number of prefixes synced to standby";
9625    }
9626    leaf prefixes-withdrawn-not-found {
9627      type uint32;
9628      description
9629        "Number of prefixes withdrawn butnot found gor
9630         this BGP neighbor";
9631    }
9632    leaf prefixes-denied {
9633      type uint32;
9634      description
9635        "Number of prefixes denied forthis BGP neighbor";
9636    }
9637    leaf prefixes-denied-no-policy {
9638      type uint32;
9639      description
9640        "No. of prefixes denied because there was no
9641         inbound policy";
9642    }
9643    leaf prefixes-denied-rt-permit {
9644      type uint32;
9645      description
9646        "No. of prefixes denied because RT extended
9647         community is not imported";
9648    }
9649    leaf prefixes-denied-orf-policy {
9650      type uint32;
9651      description
9652        "No. of prefixes denied by prefix based ORF
9653         policy";
9654    }
9655    leaf prefixes-denied-policy {
9656      type uint32;
9657      description
9658        "No. of prefixes denied by inbound policy";
9659    }
9660    leaf prefixes-received {
9661      type uint32;
9662      description
9663        "No. of prefixes received prior to inbound policy
9664         run";
9665    }
9666    leaf number-of-bestpaths {
9667      type uint32;
9668      description
9669        "No. of bestpaths from this neighbor";
9670    }
9671    leaf number-of-best-externalpaths {
9672      type uint32;
9673      description
9674        "No. of best-external paths from this neighbor";
9675    }
9676    leaf prefixes-advertised {
9677      type uint32;
9678      description
9679        "Number of prefixes advertisedfor this BGP
9680         neighbor";
9681    }
9682    leaf prefixes-be-advertised {
9683      type uint32;
9684      description
9685        "Number of BE prefixes advertised";
9686    }
9687    leaf prefixes-suppressed {
9688      type uint32;
9689      description
9690        "Number of prefixes suppressed";
9691    }
9692    leaf prefixes-withdrawn {
9693      type uint32;
9694      description
9695        "Number of prefixes withdrawn";
9696    }
9697    leaf is-peer-orf-capable {
9698      type boolean;
9699      description
9700        "Peer has outbound route filter capability";
9701    }
9702    leaf is-advertised-orf-send {
9703      type boolean;
9704      description
9705        "Prefix based ORF send mode capability advertised";
9706    }
9707    leaf is-received-orf-send-capable {
9708      type boolean;
9709      description
9710        "Prefix based ORF send mode capability received";
9711    }
9712    leaf is-advertised-orf-receive {
9713      type boolean;
9714      description
9715        "Prefix based ORF receive mode capability
9716         advertised";
9717    }
9718    leaf is-received-orf-receive-capable {
9719      type boolean;
9720      description
9721        "Prefix based ORF receive mode capability
9722         received";
9723    }
9724    leaf is-advertised-graceful-restart {
9725      type boolean;
9726      description
9727        "Graceful Restart Capability advertised";
9728    }
9729    leaf is-graceful-restart-state-flag {
9730      type boolean;
9731      description
9732        "Restart state flag enabled";
9733    }
9734    leaf is-received-graceful-restart-capable {
9735      type boolean;
9736      description
9737        "Graceful Restart Capability received";
9738    }
9739    leaf is-add-path-send-capability-advertised {
9740      type boolean;
9741      description
9742        "Flag to indicate if addpath send capability sent
9743         to BGPneighbor";
9744    }
9745    leaf is-add-path-send-capability-received {
9746      type boolean;
9747      description
9748        "Flag to indicate if addpath send capability
9749         received from BGP neighbor";
9750    }
9751    leaf is-add-path-receive-capability-advertised {
9752      type boolean;
9753      description
9754        "Flag to indicate if addpath receive capability
9755         advertised from BGP neighbor";
9756    }
9757    leaf is-add-path-receive-capability-received {
9758      type boolean;
9759      description
9760        "Flag to indicate addpath receive capability
9761         received from BGPneighbor";
9762    }
9763    leaf is-ext-nh-encoding-capability-received {
9764      type boolean;
9765      description
9766        "Flag to indicate extended nexthop encoding
9767         capability received from BGP neighbor";
9768    }
9769    leaf is-ext-nh-encoding-capability-sent {
9770      type boolean;
9771      description
9772        "Extended nexhop encoding capability Sent";
9773    }
9774    leaf restart-time {
9775      type uint32;
9776      units "second";
9777      description
9778        "Restart time advertised (seconds)";
9779    }
9780    leaf local-restart-time {
9781      type uint32;
9782      units "second";
9783      description
9784        "Local Restart time (seconds)";
9785    }
9786    leaf stale-path-timeout {
9787      type uint32;
9788      units "second";
9789      description
9790        "Stale path timeout time (in seconds)";
9791    }
9792    leaf rib-purge-timeout-value {
9793      type uint32;
9794      units "second";
9795      description
9796        "RIB purge timeout time (in seconds)";
9797    }
9798    leaf neighbor-preserved-forwarding-state {
9799      type boolean;
9800      description
9801        "Flag to indicate neighbor preserved in
9802         forwarding state";
9803    }
9804    leaf long-lived-graceful-restart-stale-time-configured {
9805      type boolean;
9806      description
9807        "Flag to indicate if BGP neighbor long-lived
9808         graceful-restart stale time is configured";
9809    }
9810    leaf long-lived-graceful-restart-stale-time-sent {
9811      type uint32;
9812      units "second";
9813      description
9814        "Stale time sent in long-lived graceful-restart
9815         capability (seconds)";
9816    }
9817    leaf long-lived-graceful-restart-stale-time-accept {
9818      type uint32;
9819      units "second";
9820      description
9821        "Maximum long-lived graceful-restart stale time
9822         acceptable from the neighbor (seconds)";
9823    }
9824    leaf long-lived-graceful-restart-capability-received {
9825      type boolean;
9826      description
9827        "Flag to indicate long-lived graceful-restart
9828         capability received from the neighbor";
9829    }
9830    leaf long-lived-graceful-restart-stale-time-received {
9831      type uint32;
9832      units "second";
9833      description
9834        "Long-lived graceful-restart stale time received
9835         from the neighbor (seconds)";
9836    }
9837    leaf neighbor-preserved-long-lived-forwarding-state {
9838      type boolean;
9839      description
9840        "Flag to indicate BGP neighbor preserved
9841         long-lived forwarding state";
9842    }
9843    leaf neighbor-long-lived-graceful-restart-capable {
9844      type boolean;
9845      description
9846        "Flag to indicate if BGP neighbor as long-lived
9847         graceful-restartis capable";
9848    }
9849    leaf neighbor-long-lived-graceful-restart-time-remaining {
9850      type uint32;
9851      description
9852        "Remaining long-lived graceful-restart time";
9853    }
9854    leaf route-refreshes-received {
9855      type uint32;
9856      description
9857        "Number of route refresh requests received";
9858    }
9859    leaf route-refreshes-sent {
9860      type uint32;
9861      description
9862        "Number of route refresh requests sent";
9863    }
9864    leaf refresh-target-version {
9865      type uint64;
9866      description
9867        "Target version for refresh update generation";
9868    }
9869    leaf refresh-version {
9870      type uint64;
9871      description
9872        "Version till which refresh updates have been
9873         generated";
9874    }
9875    leaf refresh-acked-version {
9876      type uint64;
9877      description
9878        "Version acked by the peer for refresh updates
9879         sent";
9880    }
9881    leaf is-prefix-orf-present {
9882      type boolean;
9883      description
9884        "Outbound route filter prefix ORF present";
9885    }
9886    leaf orf-entries-received {
9887      type uint32;
9888      description
9889        "Number of outbound route filter entries received";
9890    }
9891    leaf is-default-originate-sent {
9892      type boolean;
9893      description
9894        "Default origination update sent";
9895    }
9896    leaf route-policy-prefix-orf {
9897      type string;
9898      description
9899        "Prefix based ORF for incoming updates";
9900    }
9901    leaf route-policy-in {
9902      type string;
9903      description
9904        "Incoming route policy name";
9905    }
9906    leaf route-policy-out {
9907      type string;
9908      description
9909        "Outgoing route policy name";
9910    }
9911    leaf route-policy-ret {
9912      type string;
9913      description
9914        "Retention route policy name";
9915    }
9916    leaf route-policy-default-originate {
9917      type string;
9918      description
9919        "Default-originate route policy name";
9920    }
9921    leaf is-neighbor-ebgp-without-inbound-policy {
9922      type boolean;
9923      description
9924        "eBGP neighbor with no configured inbound policy";
9925    }
9926    leaf is-neighbor-ebgp-without-outbound-policy {
9927      type boolean;
9928      description
9929        "eBGP neighbor with no configured outbound policy";
9930    }
9931    leaf is-upd-orig-loopchk-disable-set {
9932      type boolean;
9933      description
9934        "Flag to indicate if update out originator
9935         loopcheck is disabled";
9936    }
9937    leaf is-as-override-set {
9938      type boolean;
9939      description
9940        "Flag to indicate as override set for BGP
9941         neighbor";
9942    }
9943    leaf is-allow-as-in-set {
9944      type boolean;
9945      description
9946        "Allowas-in set ";
9947    }
9948    leaf allow-as-in-count {
9949      type uint32;
9950      description
9951        "Allowas-in count config";
9952    }
9953    leaf is-allow-confed-as-in-set {
9954      type boolean;
9955      description
9956        "Allowconfedas-in set ";
9957    }
9958    leaf allow-confed-as-in-count {
9959      type uint32;
9960      description
9961        "Allowconfedas-in count config";
9962    }
9963    leaf address-family-long-lived-time {
9964      type uint32;
9965      description
9966        "AF specific Long-lived-time config";
9967    }
9968    leaf eo-r-received-in-read-only {
9969      type boolean;
9970      description
9971        "An EoR was received while in read-only mode";
9972    }
9973    leaf acked-version {
9974      type uint64;
9975      description
9976        "Version mapped from acked seqNo";
9977    }
9978    leaf synced-acked-version {
9979      type uint64;
9980      description
9981        "Version mapped from acked seqNo that was synced
9982         last";
9983    }
9984    leaf outstanding-version {
9985      type uint32;
9986      description
9987        "No. of all outstanding version objects waiting
9988         for ack from the peer";
9989    }
9990    leaf outstanding-refresh-version {
9991      type uint32;
9992      description
9993        "No. of only refresh version objects waiting for
9994         ack from the peer";
9995    }
9996    leaf outstanding-version-max {
9997      type uint32;
9998      description
9999        "Version mapped from acked seqNo that was synced
10000         last";
10001    }
10002    leaf is-aigp-set {
10003      type boolean;
10004      description
10005        "AIGP set ";
10006    }
10007    leaf is-rt-present {
10008      type boolean;
10009      description
10010        "RT attribute list present";
10011    }
10012    leaf is-rt-present-standby {
10013      type boolean;
10014      description
10015        "RT attribute list present";
10016    }
10017    leaf accept-own-enabled {
10018      type boolean;
10019      description
10020        "Flag to indicate if Accept-Own is enabled";
10021    }
10022    leaf selective-multipath-eligible {
10023      type boolean;
10024      description
10025        "Flag to indicate if selective multipath is
10026         eligible";
10027    }
10028    leaf afrpki-disable {
10029      type boolean;
10030      description
10031        "Prefix validation disabled";
10032    }
10033    leaf afrpki-use-validity {
10034      type boolean;
10035      description
10036        "Prefix v. use validity";
10037    }
10038    leaf afrpki-allow-invalid {
10039      type boolean;
10040      description
10041        "Prefix v. allow invalid";
10042    }
10043    leaf afrpki-signal-ibgp {
10044      type boolean;
10045      description
10046        "Prefix v. signal ibgp";
10047    }
10048    leaf is-advertise-permanent-network {
10049      type boolean;
10050      description
10051        "Flag to indicate if advertise is permanent
10052         network";
10053    }
10054    leaf is-send-mcast-attr {
10055      type boolean;
10056      description
10057        "Send Mcast Attr";
10058    }
10059    leaf import-stitching {
10060      type boolean;
10061      description
10062        "Import Stitching enabled";
10063    }
10064    leaf import-reoriginate {
10065      type boolean;
10066      description
10067        "Import Reoriginate enabled";
10068    }
10069    leaf import-reoriginate-stitching {
10070      type boolean;
10071      description
10072        "Import Reoriginate Stitching enabled";
10073    }
10074    leaf advertise-v4-flags {
10075      type uint32;
10076      description
10077        "Advertise options for VPNV4";
10078    }
10079    leaf advertise-v6-flags {
10080      type uint32;
10081      description
10082        "Advertise options for VPNV6";
10083    }
10084    leaf advertise-local-labeled-route-unicast {
10085      type boolean;
10086      description
10087        "Advertise routes with ";
10088    }
10089    leaf prefixes-denied-non-cumulative {
10090      type uint32;
10091      description
10092        "Number of prefixes exactly denied (non
10093         cumulative)";
10094    }
10095    leaf prefixes-denied-non-cumulative-hwm {
10096      type uint32;
10097      description
10098        "Number of prefixes exactly denied (non
10099         cumulative) High Water Mark";
10100    }
10101    leaf prefixes-denied-non-cumulative-hwm-timestamp {
10102      type uint64;
10103      description
10104        "Time When prefixes denied non cumulative entered
10105         high water mark";
10106    }
10107    leaf enable-label-stack {
10108      type boolean;
10109      description
10110        "Flag to indicate if label stack is enabled";
10111    }
10112    leaf ot-prov-track-enable {
10113      type boolean;
10114      description
10115        "OT Provider Tracking enabled";
10116    }
10117    leaf ot-prov-track-state {
10118      type Bgp-track-state;
10119      description
10120        "OT Provider Tracking state";
10121    }
10122    leaf ot-prov-track-in-gr-state {
10123      type boolean;
10124      description
10125        "OT Provider Track in GR State";
10126    }
10127    leaf ot-prov-track-eor-tmr-running {
10128      type boolean;
10129      description
10130        "OT Provider Track EOR timer running";
10131    }
10132    leaf slow-peer-state {
10133      type Bgp-slow-peer-state;
10134      description
10135        "Slow Peer state";
10136    }
10137    leaf slow-peer-detected {
10138      type boolean;
10139      description
10140        "Detected Slow Peer";
10141    }
10142    leaf slow-peer-processing {
10143      type boolean;
10144      description
10145        "Processing Slow Peer";
10146    }
10147    leaf slow-peer-threshold {
10148      type uint16;
10149      description
10150        "Threshold for recovering a dynamic slow peer";
10151    }
10152    leaf slow-peer-detection-count {
10153      type uint32;
10154      description
10155        "Slow peer detection count";
10156    }
10157    leaf slow-peer-recover-count {
10158      type uint32;
10159      description
10160        "Slow peer recovery count";
10161    }
10162    leaf slow-peer-trigger-count {
10163      type uint32;
10164      description
10165        "Slow peer trigger count";
10166    }
10167    leaf slow-peer-process-count {
10168      type uint32;
10169      description
10170        "Slow peer process count";
10171    }
10172    leaf delayed-path-count-total {
10173      type uint32;
10174      description
10175        "Total number of paths delayed";
10176    }
10177    leaf delayed-path-count-current {
10178      type uint32;
10179      description
10180        "Current number of paths delayed";
10181    }
10182    leaf addpath-receive-enable {
10183      type boolean;
10184      description
10185        "Flag to indicate if addpath receive
10186         functionality is enabled";
10187    }
10188    leaf addpath-receive-disable {
10189      type boolean;
10190      description
10191        "Flag indicates if addpath receive functionality
10192         is disabled";
10193    }
10194    leaf addpath-send-enable {
10195      type boolean;
10196      description
10197        "Flag to indicate if addpath send functionality
10198         is enabled";
10199    }
10200    leaf addpath-send-disable {
10201      type boolean;
10202      description
10203        "Flag indicates if addpath send functionality is
10204         disabled";
10205    }
10206    list extended-community {
10207      description
10208        "Extended community attribute";
10209      leaf entry {
10210        type uint8;
10211        description9127      description
10212          "Extended community attribute";9128        "Net has inconsistent paths";
10213      }9129    }
10214    }9130    leaf is-net-aggregation-suppressed {
10215    list extended-community-standby {9131      type boolean;
10216      description
10217        "Extended community attribute";
10218      leaf entry {
10219        type uint8;
10220        description9132      description
10221          "Extended community attribute";9133        "Net suppressed due to aggregation";
10222      }9134    }
10223    }9135    leaf is-net-ldp-signaled {
10224    list version-bump-count {9136      type boolean;
10225      description
10226        "Total version bumps per event";
10227      uses NBR-TOTAL-BUMPS;
10228    }
10229    list version-rate-stat {
10230      max-elements "4";
10231      description
10232        "Version bump stats per event per interval";
10233      uses NBR-VER-RATE;
10234    }
10235  }
10236 
10237  grouping BGP-PERF-NBR {
10238    description9137      description
10239      "BGP PERF NBR";9138        "L2VPN Net LDP signaled  aggregation";
10240    container gshut-bandwidth-aware-last-enter-time-spec {
10241      description
10242        "Last Bandwidth Aware Graceful-Maintenance enter
10243         timestamp";
10244      uses BGP-TIMESPEC;
10245    }9139    }
n10246    container gshut-bandwidth-aware-last-exit-time-spec {n9140    leaf table-version {
10247      description
10248        "Last Bandwidth Aware Graceful-Maintenance exit
10249         timestamp";
10250      uses BGP-TIMESPEC;
10251    }
10252    leaf read-throttles {
10253      type uint32;
10254      description
10255        "Number of partial read throttles";
10256    }
10257    leaf low-throttled-read {
10258      type uint32;
10259      description
10260        "Num socket reads after nbrs crossed low
10261         threshold";
10262    }
10263    leaf high-throttled-read {
10264      type uint32;
10265      description
10266        "Num of socket reads after nbr crossed high
10267         threshold";
10268    }
10269    leaf time-since-last-throttled-read {
10270      type uint32;
10271      units "second";
10272      description
10273        "Time (in secs) since last read after being
10274         throttled";
10275    }
10276    leaf read-calls-count {
10277      type uint32;
10278      description
10279        "No. of calls to function to read inbound data";
10280    }
10281    leaf read-messages-count {
10282      type uint32;
10283      description
10284        "Number of BGP messages read";
10285    }
10286    leaf data-bytes-read {
10287      type uint32;
10288      units "byte";
10289      description
10290        "No. of bytes of data read";
10291    }
10292    leaf io-read-time {
10293      type uint32;
10294      units "millisecond";
10295      description
10296        "Time spent reading inbound data (milliseconds)";
10297    }
10298    leaf write-calls-count {
10299      type uint32;
10300      description
10301        "No. of calls to function to write outbound data";
10302    }
10303    leaf data-bytes-written {
10304      type uint32;
10305      units "byte";
10306      description
10307        "Number of bytes that havesent to peers";
10308    }
10309    leaf io-write-time {
10310      type uint32;
10311      units "millisecond";
10312      description
10313        "Time spent writing outbound data (milliseconds)";
10314    }
10315    leaf last-sent-seq-no {
10316      type uint32;
10317      description
10318        "Seq No of the last sent byte";
10319    }
10320    leaf write-subgroup-calls-count {
10321      type uint32;
10322      description
10323        "No. of calls to function to process sub-group
10324         message list";
10325    }
10326    leaf write-subgroup-messages-count {
10327      type uint32;
10328      description
10329        "Number of sub-group msgs processed";
10330    }
10331    leaf subgroup-list-time {
10332      type uint32;
10333      units "millisecond";
10334      description
10335        "Time spent processing sub-group message list
10336         (milliseconds)";
10337    }
10338    leaf write-queue-calls-count {
10339      type uint32;
10340      description
10341        "No. of calls to function to process write queue";
10342    }
10343    leaf write-queue-messages-count {
10344      type uint32;
10345      description
10346        "Number of write queue messages processed";
10347    }
10348    leaf write-queue-time {
10349      type uint32;
10350      units "millisecond";
10351      description
10352        "Time spent processing write queue (milliseconds)";
10353    }
10354    leaf inbound-update-messages {
10355      type uint32;
10356      description
10357        "Number of inbound update messages processed";
10358    }
10359    leaf inbound-update-messages-time {
10360      type uint32;
10361      units "millisecond";
10362      description
10363        "Time spent processing inbound update messages
10364         (milliseconds)";
10365    }
10366    leaf maximum-read-size {
10367      type uint32;
10368      units "millisecond";
10369      description
10370        "Size of largest socket (milliseconds)";
10371    }
10372    leaf actives {
10373      type uint32;
10374      description
10375        "Number of retried Active opens for this neighbor";
10376    }
10377    leaf failed-post-actives {
10378      type uint32;
10379      description
10380        "Number of Active Opens that failed in the Post
10381         Active State for this neighbor";
10382    }
10383    leaf passives {
10384      type uint32;
10385      description
10386        "Number of retried Passive opens for this
10387         neighbor";
10388    }
10389    leaf rejected-passives {
10390      type uint32;
10391      description
10392        "Number of rejected Passive opens for this
10393         neighbor";
10394    }
10395    leaf active-collision {
10396      type uint32;
10397      description
10398        "Number of Closed Active connections for this
10399         neighbor due to collision ";
10400    }
10401    leaf passive-collision {
10402      type uint32;
10403      description
10404        "Number of Closed Remote opens for this
10405         neighborneighbor due to collision ";
10406    }
10407    leaf control-to-read-thread-trigger {
10408      type uint32;
10409      description
10410        "Number of times io-control thread trigger read
10411         thread";
10412    }
10413    leaf control-to-write-thread-trigger {
10414      type uint32;
10415      description
10416        "Number of times io-control thread trigger write
10417         thread";
10418    }
10419    leaf network-status {
10420      type uint32;
10421      description
10422        "Socket status, TRUE if socket closed";
10423    }
10424    leaf reset-flags {
10425      type uint32;
10426      description
10427        "Reset flags, per thread";
10428    }
10429    leaf nbr-flags {
10430      type uint32;
10431      description
10432        "Nbr flags, per thread";
10433    }
10434    leaf nbr-fd {
10435      type int32;9141      type uint32;
10436      description
10437        "Primary FD, per nbr";
10438    }
10439    leaf reset-retries {
10440      type uint8;
10441      description
10442        "Reset Retries, per nbr";
10443    }
10444    leaf sync-flags {
10445      type uint32;
10446      description
10447        "Sync flags, per nbr";
10448    }
10449    leaf nsr-oper-down-count {
10450      type uint32;
10451      description
10452        "Number of times NSR scoped sync has been done";
10453    }
10454    leaf last-nsr-scoped-sync {
10455      type uint32;
10456      description
10457        "Last time NSR scoped syncwas done for the
10458         neighbor";
10459    }
10460    leaf gshut-bandwidth-aware-num-enters {
10461      type uint32;
10462      description
10463        "Number of times neighbor entered
10464         Graceful-Maintenance due to bandwidth-awareness";
10465    }
10466    leaf gshut-bandwidth-aware-num-exits {
10467      type uint32;
10468      description
10469        "Number of times neighbor exited
10470         Graceful-Maintenance due to bandwidth-awareness";
10471    }
10472    leaf write-throttles {
10473      type uint32;
10474      description
10475        "Number of write was throttled";
10476    }
10477  }
10478 
10479  grouping BGP-NOTFNTYPE {
10480    description
10481      "BGP NOTFNTYPE";
10482    leaf time-since-last-notification {
10483      type uint32;
10484      units "second";
10485      description
10486        "Time since the last notification was sent or
10487         received (seconds)";
10488    }
10489    leaf notification-error-code {
10490      type uint8;
10491      description
10492        "Error code in last notification";
10493    }
10494    leaf notification-error-subcode {
10495      type uint8;
10496      description
10497        "Error subcode in last notification";
10498    }
10499    list last-notification-data {
10500      description
10501        "Message data in last notification";
10502      leaf entry {
10503        type uint8;
10504        description9142      description
10505          "Message data in last notification";9143        "Table version # for net";
10506      }9144    }
10507    }9145    leaf table-brib-version {
10508  }9146      type uint32;
10509 
10510  grouping BGP-NBR-BAG {
10511    description9147      description
10512      "BGP Neighbor Information";9148        "Table version # for updates";
10513    container connection-local-address {
10514      description
10515        "Local address for the connection";
10516      uses BGP-ADDRTYPE;
10517    }9149    }
n10518    container connection-remote-address {n9150    leaf advertisedto-pe {
9151      type boolean;
10519      description9152      description
n10520        "Remote address for the connection";n9153        "Net could be advertised
10521      uses BGP-ADDRTYPE;9154         to PE peers";
10522    }9155    }
n10523    container send-notification-info {n9156    leaf has-local-label {
9157      type boolean;
10524      description9158      description
n10525        "Information on the last notification sent";n9159        "Net has local label";
10526      uses BGP-NOTFNTYPE;
10527    }9160    }
n10528    container received-notification-info {n9161    leaf net-local-label {
10529      description
10530        "Information on the last notification received";
10531      uses BGP-NOTFNTYPE;
10532    }
10533    container performance-statistics {
10534      description
10535        "BGP neighbor performance statistics";
10536      uses BGP-PERF-NBR;
10537    }
10538    container message-statistics {
10539      description
10540        "BGP neighbor message statistics";
10541      uses BGP-NBR-MSG-STATS;
10542    }
10543    container tcp-init-sync-time-spec {
10544      description
10545        "Time When neighbor entered TCP Init Sync";
10546      uses BGP-TIMESPEC;
10547    }
10548    container tcp-init-sync-phase-two-time-spec {
10549      description
10550        "Time when neighbor entered TCP Init Sync Phase
10551         Two";
10552      uses BGP-TIMESPEC;
10553    }
10554    container tcp-init-sync-done-time-spec {
10555      description
10556        "Time when neighbor entered TCP Init Sync Done";
10557      uses BGP-TIMESPEC;
10558    }
10559    container graceful-maintenance {
10560      description
10561        "Globally activated BGp neighborfor graceful
10562         shutdown";
10563      uses BGP-NBR-GSHUT;
10564    }
10565    container read-throttle-hwm-event {
10566      description
10567        "Event for the neighbor when the socket read was
10568         throttled for the longest duration";
10569      uses BGP-NBR-THROTL-STATS-BAG;
10570    }
10571    container read-throttle-hwm-event-reset {
10572      description
10573        "Event for the neighbor when the socket read was
10574         throttled for the longest duration before
10575         session reset";
10576      uses BGP-NBR-THROTL-STATS-BAG;
10577    }
10578    container write-throttle-hwm-event {
10579      description
10580        "Event for the neighbor when the socket write was
10581         throttled for the longest duration";
10582      uses BGP-NBR-THROTL-STATS-BAG;
10583    }
10584    container write-throttle-hwm-event-reset {
10585      description
10586        "Event for the neighbor when the socket write was
10587         throttled for the longest duration before
10588         session reset";
10589      uses BGP-NBR-THROTL-STATS-BAG;
10590    }
10591    leaf speaker-id {
10592      type uint8;9162      type uint32;
10593      description
10594        "Speaker this neighbor is allocated to";
10595    }
10596    leaf description {9163      description
10597      type string;
10598      description
10599        "BGP neighbor description";
10600    }
10601    leaf local-as {
10602      type uint32;
10603      description
10604        "Local AS number";9164        "Local label";
10605    }9165    }
n10606    leaf remote-as {n9166    leaf net-local-label-rewrite {
10607      type uint32;
10608      description
10609        "Remote AS number";
10610    }
10611    leaf has-internal-link {
10612      type boolean;9167      type boolean;
10613      description9168      description
n10614        "Internal link to neighbor";n9169        "Net label has rewrite";
10615    }9170    }
n10616    leaf is-external-neighbor-not-directly-connected {n9171    leaf net-local-label-srgb {
10617      type boolean;9172      type boolean;
10618      description9173      description
n10619        "Flag to indicate neighbor is external and notn9174        "Net label allocated fromSegment routing global
10620         directly connected";
10621    }
10622    leaf messages-received {
10623      type uint32;
10624      description
10625        "Number of messages received";
10626    }
10627    leaf messages-sent {
10628      type uint32;
10629      description
10630        "Number of messages sent";
10631    }
10632    leaf update-messages-in {
10633      type uint32;
10634      description
10635        "No. of update msgs received";
10636    }
10637    leaf update-messages-out {
10638      type uint32;
10639      description
10640        "No. of update messages sent";
10641    }
10642    leaf messages-queued-in {
10643      type uint32;
10644      description
10645        "No. of msgs on receive queue";
10646    }
10647    leaf messages-queued-out {
10648      type uint32;
10649      description
10650        "No. of messages on send queue";
10651    }
10652    leaf connection-established-time {
10653      type uint32;
10654      units "second";
10655      description
10656        "Time (in secs) that the connection has been
10657         established";
10658    }
10659    leaf connection-state {
10660      type Bgp-conn-state;
10661      description
10662        "State of connection";
10663    }
10664    leaf previous-connection-state {
10665      type Bgp-conn-state;
10666      description
10667        "Previous state of connection";
10668    }
10669    leaf connection-admin-status {
10670      type uint32;
10671      description
10672        "Administrative status of connection";
10673    }
10674    leaf open-check-error-code {
10675      type Bgp-open-check-err;
10676      description
10677        "Error code for open check failure forBGP
10678         neighbor";
10679    }
10680    leaf is-local-address-configured {
10681      type boolean;
10682      description
10683        "Local address configured for the neighbor
10684         connection";
10685    }
10686    leaf connection-local-port {
10687      type uint32;
10688      description
10689        "Local port for the connection";
10690    }
10691    leaf connection-remote-port {
10692      type uint32;
10693      description
10694        "Remote port for the connection";
10695    }
10696    leaf neighbor-interface-handle {
10697      type uint32;
10698      description
10699        "Interface Handle of Neighbor";
10700    }
10701    leaf reset-notification-sent {
10702      type boolean;
10703      description
10704        "Notification was sent during last reset";
10705    }
10706    leaf is-administratively-shut-down {
10707      type boolean;
10708      description
10709        "Flag to indicate if BGP neighbor is
10710         administratively shut down";
10711    }
10712    leaf is-neighbor-max-prefix-shutdown {
10713      type boolean;
10714      description
10715        "Neighbor shut down because it exceeded max prfx
10716         count";9175         block";
10717    }9176    }
n10718    leaf is-out-of-memory-shutdown {n9177    leaf has-lbl-retained {
10719      type boolean;9178      type boolean;
10720      description9179      description
n10721        "Neighbor shut down during a SEVERE low memoryn
10722         condition";
10723    }
10724    leaf is-out-of-memory-forced-up {
10725      type boolean;
10726      description
10727        "Neighbor forced up during a low memory condition";
10728    }
10729    leaf is-ebgp-peer-as-league {
10730      type boolean;
10731      description
10732        "EBGP peer belongs to AS League";
10733    }
10734    leaf is-ebgp-peer-common-admin {
10735      type boolean;
10736      description
10737        "EBGP peer with common administation";
10738    }
10739    leaf ttl-security-enabled {
10740      type boolean;
10741      description
10742        "TTL Security enabled";
10743    }
10744    leaf suppress4-byte-as {
10745      type boolean;
10746      description
10747        "Suppress 4byteas capability";
10748    }
10749    leaf bfd-session-state {
10750      type Bgp-bfd-state;
10751      description
10752        "BFD state for this peer";
10753    }
10754    leaf bfd-session-created-state {
10755      type Bgp-bfd-state;
10756      description
10757        "BFD state for this peer";
10758    }
10759    leaf bfd-session-enable-mode {
10760      type Bgp-bfd-enable-mode;
10761      description
10762        "BFD enable mode for this peer";
10763    }
10764    leaf bfd-minintervalval {
10765      type uint32;
10766      description
10767        "BFD Mininterval for this peer";
10768    }
10769    leaf bfd-multiplierval {
10770      type uint32;
10771      description
10772        "BFD Multiplier for this peer";
10773    }
10774    leaf bfd-state-ts {
10775      type uint64;
10776      description
10777        "Timestamp since when nbr is in this bfd state";
10778    }
10779    leaf router-id {
10780      type inet:ipv4-address;
10781      description
10782        "Router ID for the neighbor";
10783    }
10784    leaf negotiated-protocol-version {
10785      type uint16;
10786      description
10787        "Negotiated protocol version with the BGP
10788         neighbor";
10789    }
10790    leaf ebgp-time-to-live {
10791      type uint32;
10792      description
10793        "Maximum number of hops for external BGP neighbor";
10794    }
10795    leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
10796      type boolean;
10797      description
10798        "If true, MPLS and NULL rewrite is disabled; if
10799         false, it is enabled";
10800    }
10801    leaf tcpmss {
10802      type uint32;
10803      description
10804        "Neighbor TCP Maximum Segment size";
10805    }
10806    leaf tcpmtu {
10807      type boolean;
10808      description
10809        "Neighbor TCP Path Maximum Transmission Unit
10810         Discovery option";
10811    }
10812    leaf msg-log-in {
10813      type uint32;
10814      description
10815        "Message in log count";
10816    }
10817    leaf msg-log-out {
10818      type uint32;
10819      description
10820        "Message out log count";
10821    }
10822    leaf neighbor-local-as {
10823      type uint32;
10824      description
10825        "Local AS configured on the neighbor";
10826    }
10827    leaf local-as-no-prepend {
10828      type boolean;
10829      description
10830        "Option to not prepend the Local AS to
10831         announcements";
10832    }
10833    leaf is-capability-negotiation-suppressed {
10834      type boolean;
10835      description
10836        "Flag to indicate if Capability negotiation is
10837         disabled for this BGP neighbor";
10838    }
10839    leaf is-capability-negotiation-performed {
10840      type boolean;
10841      description
10842        "Flag to indicate if capability negotiation is
10843         performed for BGP neighbor";
10844    }
10845    leaf is-route-refresh-capability-received {
10846      type boolean;
10847      description
10848        "Flag to indicate if the neighbor supports
10849         route-refresh was received";
10850    }
10851    leaf is-route-refresh-old-capability-received {
10852      type boolean;
10853      description
10854        "Flag to indicate if the neighbor supports
10855         route-refresh old capability was received";
10856    }
10857    leaf is-gr-aware {
10858      type boolean;
10859      description
10860        "GR awareness received";
10861    }
10862    leaf is4-byte-as-capability-received {
10863      type boolean;
10864      description
10865        "Flag to ndicate if neighbor supports 4-byte AS
10866         capability received";
10867    }
10868    leaf is4-byte-as-capability-sent {
10869      type boolean;
10870      description
10871        "4-byte AScapability Snt";
10872    }
10873    leaf multi-protocol-capability-received {
10874      type boolean;
10875      description
10876        "Flag to indicate if multi-protocol capability
10877         has been received";9180        "Net has label retained";
10878    }9181    }
n10879    leaf hold-time {n9182    leaf route-distinguisher {
10880      type uint16;9183      type xr:Route-dist;
10881      units "second";
10882      description9184      description
n10883        "Hold time (in secs) negotiated for thisn9185        "Route Distinguisher";
10884         connection";
10885    }
10886    leaf keep-alive-time {
10887      type uint16;
10888      units "second";
10889      description
10890        "Keepalive time (in secs) negotiated for this
10891         connection";
10892    }
10893    leaf configured-hold-time {
10894      type uint16;
10895      units "second";
10896      description
10897        "Hold time (in secs) configured for this
10898         connection";
10899    }
10900    leaf configured-keepalive {
10901      type uint16;
10902      units "second";
10903      description
10904        "Keepalive time (in secs) configured for this
10905         connection";
10906    }
10907    leaf configured-min-acc-hold-time {
10908      type uint16;
10909      units "second";
10910      description
10911        "Minimum acceptable hold time from neighbor (in
10912         secs) configured for this connection";
10913    }
10914    leaf min-advertise-interval {
10915      type uint32;
10916      units "second";
10917      description
10918        "Minimum advertisement interval, secs part";
10919    }
10920    leaf min-advertise-interval-msecs {
10921      type uint32;
10922      units "millisecond";
10923      description
10924        "Minimum advertisement interval, msecs part";
10925    }
10926    leaf min-origination-interval {
10927      type uint16;
10928      units "second";
10929      description
10930        "Minimum origination interval (in secs)";
10931    }
10932    leaf connect-retry-interval {
10933      type uint16;
10934      units "second";
10935      description
10936        "Time (in secs) for connect retry timer";
10937    }
10938    leaf time-since-last-update {
10939      type uint32;
10940      units "second";
10941      description
10942        "Time (in secs) since last update message was
10943         received";
10944    }
10945    leaf time-since-last-read {
10946      type uint32;
10947      units "second";
10948      description
10949        "Time (in secs) since last read";
10950    }
10951    leaf time-since-last-read-reset {
10952      type uint32;
10953      units "second";
10954      description
10955        "Time (in secs) since last read before last reset";
10956    }
10957    leaf time-last-cb {
10958      type uint64;
10959      description
10960        "CB";
10961    }
10962    leaf time-last-cb-reset {
10963      type uint32;
10964      description
10965        "Last CB before reset";
10966    }
10967    leaf time-last-fb {
10968      type uint64;
10969      description
10970        "FB";
10971    }
10972    leaf count-last-write {
10973      type uint32;
10974      description
10975        "Count";
10976    }
10977    leaf time-since-last-write {
10978      type uint32;
10979      units "second";
10980      description
10981        "Time (in secs) since last write";
10982    }
10983    leaf attempted-last-write-bytes {
10984      type uint32;
10985      description
10986        "Attempted size of last write";
10987    }
10988    leaf actual-last-write-bytes {
10989      type uint32;
10990      description
10991        "Actual size of last write";
10992    }
10993    leaf time-since-second-last-write {
10994      type uint32;
10995      units "second";
10996      description
10997        "Time (in seconds) elapsed since the second last
10998         write event";
10999    }
11000    leaf attempted-second-last-write-bytes {
11001      type uint32;
11002      description
11003        "Attempted size of second last write";
11004    }
11005    leaf actual-second-last-write-bytes {
11006      type uint32;
11007      description
11008        "Actual size of second last write";
11009    }
11010    leaf time-since-last-write-reset {
11011      type uint32;
11012      units "second";
11013      description
11014        "Time (in secs) since last write before last
11015         reset";
11016    }
11017    leaf attempted-last-write-reset-bytes {
11018      type uint32;
11019      description
11020        "Attempted size of last write before reset";
11021    }
11022    leaf actual-last-write-reset-bytes {
11023      type uint32;
11024      description
11025        "Actual size of last write before reset";
11026    }
11027    leaf time-since-second-last-write-reset {
11028      type uint32;
11029      units "second";
11030      description
11031        "Time (in secs) since last write before last
11032         reset";
11033    }
11034    leaf attempted-second-last-write-reset-bytes {
11035      type uint32;
11036      description
11037        "Attempted size of second last write before reset";
11038    }
11039    leaf actual-second-last-write-reset-bytes {
11040      type uint32;
11041      description
11042        "Actual size of second last write before reset";
11043    }
11044    leaf last-write-event {
11045      type uint32;
11046      units "second";
11047      description
11048        "Time (in secs) since last write thread event";
11049    }
11050    leaf second-last-write-event {
11051      type uint32;
11052      units "second";
11053      description
11054        "Time (in secs) since second last write thread
11055         event";
11056    }
11057    leaf last-k-aexpiry-reset {
11058      type uint32;
11059      units "second";
11060      description
11061        "Time (in secs) since last KA timer expiry before
11062         reset";
11063    }
11064    leaf second-last-k-aexpiry-reset {
11065      type uint32;
11066      units "second";
11067      description
11068        "Time (in secs) since second last KA timer expiry
11069         before reset";
11070    }
11071    leaf last-k-anotsent-reset {
11072      type uint32;
11073      units "second";
11074      description
11075        "Duration (in secs) since last time that KA was
11076         not sent before reset";
11077    }
11078    leaf last-k-aerror-reset {
11079      type uint32;
11080      units "second";
11081      description
11082        "Duration (in secs) since last time that an error
11083         was encountered after KA expiry";
11084    }
11085    leaf last-k-astart-reset {
11086      type uint32;
11087      units "second";
11088      description
11089        "Time (in secs) since the last KA timer start
11090         before reset";
11091    }
11092    leaf second-last-k-astart-reset {
11093      type uint32;
11094      units "second";
11095      description
11096        "Time (in secs) since the second last KA timer
11097         start before reset";
11098    }
11099    leaf connection-up-count {
11100      type uint32;
11101      description
11102        "Number of times the connection was established";
11103    }
11104    leaf connection-down-count {
11105      type uint32;
11106      description
11107        "Number of times connection was dropped";
11108    }
11109    leaf time-since-connection-last-dropped {
11110      type uint32;
11111      units "second";
11112      description
11113        "Time since the connection last went down
11114         (seconds)";
11115    }
11116    leaf reset-reason {
11117      type Bgp-reset-reason-index;
11118      description
11119        "Reason for last connection reset";
11120    }
11121    leaf peer-reset-reason {
11122      type Bgp-peer-reset-reason-index;
11123      description
11124        "Reason for last peer close event";
11125    }
11126    leaf peer-error-code {
11127      type uint32;
11128      description
11129        "If peer closed, error received from transport";
11130    }
11131    leaf last-notify-error-code {
11132      type uint8;
11133      description
11134        "Code for the last error notification seen on the
11135         connection";
11136    }
11137    leaf last-notify-error-subcode {
11138      type uint8;
11139      description
11140        "Error subcode of the last error notification
11141         seen on the connection";
11142    }
11143    leaf error-notifies-received {
11144      type uint32;
11145      description
11146        "Number of error notifications received on the
11147         connection";
11148    }
11149    leaf error-notifies-sent {
11150      type uint32;
11151      description
11152        "Number of error notifications sent on the
11153         connection";
11154    }
11155    leaf remote-as-number {
11156      type uint32;
11157      description
11158        "Remote AS number of BGP neighbor";
11159    }
11160    leaf dmz-link-bandwidth {
11161      type uint32;
11162      description
11163        "Bandwidth of link to single-hop eBGP peer";
11164    }
11165    leaf ebgp-recv-dmz {
11166      type boolean;
11167      description
11168        "Receive Bandwidth of link to single-hop eBGP
11169         peer";
11170    }
11171    leaf ebgp-send-dmz-mode {
11172      type Bgp-ebgp-send-dmz-enable-mode;
11173      description
11174        "Ebgp send dmz link bw mode";
11175    }
11176    leaf tos-type {
11177      type uint8;
11178      description
11179        "Precedence or DSCP type";
11180    }
11181    leaf tos-value {
11182      type uint8;
11183      description
11184        "Precedence or DSCP value";
11185    }
11186    leaf tcp-session-open-mode {
11187      type Bgp-tcp-mode;
11188      description
11189        "The TCP mode to be used to set up BGP session
11190         with the neighbor";
11191    }9186    }
11192    leaf vrf-name {9187    leaf vrf-name {
11193      type string;9188      type string;
11194      description9189      description
11195        "Name of the VRF";9190        "Name of the VRF";
11196    }9191    }
n11197    leaf standby-rp {n9192    leaf net-flags {
11198      type boolean;
11199      description
11200        "Standby RP socket inited for Active Open";
11201    }
11202    leaf nsr-enabled {
11203      type boolean;
11204      description
11205        "Neighbor supports NSR";
11206    }
11207    leaf graceful-restart-enabled-nbr {
11208      type boolean;
11209      description
11210        "Neighbor supports graceful-restart";
11211    }
11212    leaf graceful-restart-helper-mode {
11213      type boolean;
11214      description
11215        "Neighbor supports graceful-restart in
11216         helper-mode";
11217    }
11218    leaf gr-restart-time {
11219      type uint32;
11220      units "second";
11221      description
11222        "Neighbor restart time (in seconds)";
11223    }
11224    leaf gr-stale-path-time {
11225      type uint32;
11226      units "second";
11227      description
11228        "Neighbor stale-path time (in seconds)";
11229    }
11230    leaf fssn-offset {
11231      type uint32;
11232      description
11233        "First standby SeqNo offset";
11234    }
11235    leaf fpbsn-offset {
11236      type uint32;
11237      description
11238        "First standby PDU boundary SeqNo offset";
11239    }
11240    leaf last-ackd-seq-no {
11241      type uint32;
11242      description
11243        "SeqNo of the last Ackd byte";
11244    }
11245    leaf bytes-written {
11246      type uint32;
11247      units "byte";
11248      description
11249        "Total bytes written by write thread";
11250    }
11251    leaf bytes-read {
11252      type uint32;
11253      units "byte";
11254      description
11255        "Total bytes read";
11256    }
11257    leaf socket-read-bytes {
11258      type uint32;
11259      units "byte";
11260      description
11261        "Total read bytes value insocket-lib";
11262    }
11263    leaf is-read-disabled {
11264      type boolean;
11265      description
11266        "If true, socket read isdisabled";
11267    }
11268    leaf update-bytes-read {
11269      type uint32;
11270      units "byte";
11271      description
11272        "Total number of bytes readcorresponding to
11273         update messages";
11274    }
11275    leaf nsr-state {
11276      type Bgp-sync-nbr-nsr-state;
11277      description
11278        "NSR state";
11279    }
11280    leaf is-passive-close {
11281      type boolean;
11282      description
11283        "If true, active socket canbe closed if passive
11284         openis received for a GRcapable neighbor";
11285    }
11286    leaf nbr-enforce-first-as {
11287      type boolean;
11288      description
11289        "Neighbor enforce first AS";
11290    }
11291    leaf active-bmp-servers {
11292      type uint8;
11293      description
11294        "BMP Servers to which the neighbor sends logs";
11295    }
11296    leaf nbr-cluster-id {
11297      type uint32;
11298      description
11299        "Cluster id";
11300    }
11301    leaf nbr-in-cluster {
11302      type uint8;
11303      description
11304        "Type of cluster_id:undefined/number/Ip address";
11305    }
11306    leaf ignore-connected {
11307      type boolean;
11308      description
11309        "If true, the VPN client isan IBGP CE peer";
11310    }
11311    leaf internal-vpn-client {
11312      type boolean;
11313      description
11314        "If true, don't do NHconnected check for nbr";
11315    }
11316    leaf io-armed {
11317      type boolean;
11318      description
11319        "If true, socket has beenauto-armed for io
11320         control";
11321    }
11322    leaf read-armed {
11323      type boolean;
11324      description
11325        "If true, socket has beenauto-armed for read";
11326    }
11327    leaf write-armed {
11328      type boolean;
11329      description
11330        "If true, socket has beenauto-armed for write";
11331    }
11332    leaf discard-data-bytes {
11333      type uint32;
11334      units "byte";
11335      description
11336        "Remaining discard data (bytes) on Standby";
11337    }
11338    leaf local-as-replace-as {
11339      type boolean;
11340      description
11341        "Local AS Replace-AS option";
11342    }
11343    leaf local-as-dual-as {
11344      type boolean;
11345      description
11346        "Local AS Dual-AS option";
11347    }
11348    leaf local-as-dual-as-mode-native {
11349      type boolean;
11350      description
11351        "Applies only if Local AS Dual-AS option is
11352         enabled. Indicates if Dual-AS mode is native.";
11353    }
11354    leaf egress-peer-engineering-enabled {
11355      type boolean;
11356      description
11357        "Indicates if Egress Peer Engineering is enabled";
11358    }
11359    leaf last-insert-reset-queue {
11360      type uint64;
11361      description
11362        "Time when this neighbor was last inserted in
11363         reset queue";
11364    }
11365    leaf last-remove-reset-queue {
11366      type uint64;
11367      description
11368        "Time when this neighbor was last removed from
11369         reset queue";
11370    }
11371    leaf discard-as4-path {
11372      type uint32;
11373      description
11374        "Discard AS4_PATH in case there is a discrepancy
11375         in merging AS_PATH and AS4_PATH,retain ASPATH";
11376    }
11377    leaf rpki-disable {
11378      type boolean;
11379      description
11380        "Prefix validation disabled";
11381    }
11382    leaf rpki-use-validity {
11383      type boolean;
11384      description
11385        "Prefix v. use validity";
11386    }
11387    leaf rpki-allow-invalid {
11388      type boolean;
11389      description
11390        "Prefix v. allow invalid";
11391    }
11392    leaf rpki-signal-ibgp {
11393      type boolean;
11394      description
11395        "Prefix v. signal ibgp";
11396    }
11397    leaf dynamic-neighbor {
11398      type boolean;
11399      description
11400        "Flag to indicate if the neighbor specifically
11401         defining the neighborsis a dynamic neighbor";
11402    }
11403    leaf merge-inbound-safi1and4-updates {
11404      type boolean;
11405      description
11406        "Merge SAFI-1 and SAFI-4 updates from neighbor";
11407    }
11408    leaf is-capability-enhe-suppressed {
11409      type boolean;
11410      description
11411        "Flag to indicate if Capability
11412         extended-nexthop-encoding is disabled for this
11413         BGP neighbor";
11414    }
11415    leaf delete-time-remaining {
11416      type uint32;
11417      units "second";
11418      description
11419        "Time (in secs) remaining for deletion";
11420    }
11421    leaf sn-bfd-discriminator {
11422      type uint32;
11423      description
11424        "Local Discriminator for the associated BFD
11425         session";
11426    }
11427    leaf log-up-down-configured {
11428      type boolean;
11429      description
11430        "Flag to indicate if the log neighbor Up/Down is
11431         specifically enabled";
11432    }
11433    leaf log-up-down-disabled {
11434      type boolean;
11435      description
11436        "Flag to indicate if the log neighbor Up/Down is
11437         specifically disabled";
11438    }
11439    leaf bmp-server-id {
11440      type int32;9193      type uint32;
11441      description9194      description
n11442        "BMP Server id";n9195        "Flags associated with
9196         net";
11443    }9197    }
n11444    leaf last-bgp-received-message {n9198    leaf net-extended-flags {
11445      type Bgp-message;
11446      description
11447        "Last BGP message received from the neighbor";
11448    }
11449    leaf maximum-prefix-restart-time {
11450      type uint32;
11451      units "second";
11452      description
11453        "Max Prefix Restart timer (in seconds)";
11454    }
11455    leaf connected-interface {
11456      type uint32;
11457      description
11458        "Connected interface Handle of neighbor";
11459    }
11460    leaf interface-added-in-lpts {
11461      type uint32;
11462      description
11463        "Interface Handle programmed in LPTS for neighbor";
11464    }
11465    leaf evpn-link-bandwidth-enabled {
11466      type boolean;
11467      description
11468        "EVPN Link Bandwidth Enabled";
11469    }
11470    leaf evpn-link-bandwidth-type {
11471      type Bgp-evpn-link-bw-edm;
11472      description
11473        "EVPN Link Bandwidth Value-Unit Type";
11474    }
11475    leaf evpn-link-bandwidth-weight {
11476      type uint32;
11477      description
11478        "EVPN Link Bandwidth Value-Weight";
11479    }
11480    leaf upd-errh-noreset {
11481      type boolean;
11482      description
11483        "Update error handling configuration for C1
11484         category errors";
11485    }
11486    leaf upd-errh-treat-as-withdraw {
11487      type boolean;
11488      description
11489        "Update error handling configuration for
11490         treat-as-withdrawerrors";
11491    }
11492    leaf sync-ilist-element-flag {
11493      type int32;9199      type uint32;
11494      description
11495        "Neighbor Sync Ilist Element Flag";
11496    }
11497    leaf allow-as-in {
11498      type uint32;
11499      description
11500        "Number of Own AS numbers allowed in inbound
11501         update";
11502    }
11503    leaf sent-community-to-neighbor {
11504      type boolean;
11505      description
11506        "Community attribute sent to neighbor";
11507    }
11508    leaf sn-extcommunity {
11509      type boolean;
11510      description
11511        "Extended communityattribute sent to neighbor";
11512    }
11513    leaf dampening {
11514      type Bgp-nbr-dampening;
11515      description
11516        "dampening configuration for neighbor";
11517    }
11518    leaf is-as-override-disabled {
11519      type Bgp-nbr-aspath-as-override;
11520      description
11521        "Disable as override";
11522    }
11523    leaf nbr-disable-peer-as {
11524      type Bgp-nbr-disable-peer-as;
11525      description
11526        "NBR Disable Peer AS";
11527    }
11528    leaf gbl-disable-peer-as-enable {
11529      type boolean;
11530      description
11531        "Global Disable Peer AS Enable";
11532    }
11533    leaf hold-time-low-threshold-percent {
11534      type uint8;
11535      units "percentage";
11536      description
11537        "Low threshold as percentage of Hold Time for
11538         monitoring";
11539    }
11540    leaf hold-time-high-threshold-percent {
11541      type uint8;
11542      units "percentage";
11543      description
11544        "High threshold as percentage of Hold Time for
11545         monitoring";
11546    }
11547    leaf longest-elapsed-hold-timer {
11548      type uint32;
11549      description
11550        "Longest elapsed hold time period (in msec)
11551         recorded";
11552    }
11553    leaf longest-elapsed-hold-timer-time {
11554      type uint64;
11555      description
11556        "Time when the longest elapsed hold time period
11557         was recorded";
11558    }
11559    leaf hold-time-low-threshold-exceed-count {
11560      type uint32;
11561      description
11562        "Number of times the elapsed hold time crossed
11563         the low threshold";
11564    }
11565    leaf hold-time-high-threshold-exceed-count {
11566      type uint32;
11567      description
11568        "Number of times the elapsed hold time crossed
11569         the high threshold";
11570    }
11571    leaf longest-elapsed-hold-timer-reset {
11572      type uint32;
11573      description
11574        "Longest elapsed hold time period (in msec)
11575         recorded before last session reset";
11576    }
11577    leaf longest-elapsed-hold-timer-time-reset {
11578      type uint64;
11579      description
11580        "Time when the longest elapsed hold time period
11581         was recorded before last session reset";
11582    }
11583    leaf hold-time-low-threshold-exceed-reset-count {
11584      type uint32;
11585      description
11586        "Number of times the elapsed hold time crossed
11587         the low threshold before last session reset";
11588    }
11589    leaf hold-time-high-threshold-exceed-reset-count {
11590      type uint32;
11591      description
11592        "Number of times the elapsed hold time crossed
11593         the high threshold before last session reset";
11594    }
11595    leaf first-msg-read-time {
11596      type uint64;
11597      description
11598        "Time when the first message was read from the
11599         neighbor after up or after switchover in since
11600         epoch";
11601    }
11602    leaf first-msg-write-time {
11603      type uint64;
11604      description
11605        "Time when the first message was written to the
11606         neighbor after up or after switchover in nsec
11607         since epoch";
11608    }
11609    leaf first-msg-read-time-reset {
11610      type uint64;
11611      description
11612        "Time when the first message was read from the
11613         neighbor after up or after switchover before
11614         last session reset in nsec since epoch";
11615    }
11616    leaf first-msg-write-time-reset {
11617      type uint64;
11618      description
11619        "Time when the first message was written to the
11620         neighbor after up or after switchover before
11621         last session reset in nsec since epoch";
11622    }
11623    leaf nbr-fast-fallover {
11624      type boolean;
11625      description
11626        "BGP neighbor will go down if its directly
11627         connected interface goes down";
11628    }
11629    leaf fast-ext-fallover {
11630      type boolean;
11631      description
11632        "VRF level fast external fallover";
11633    }
11634    leaf nbr-directly-connected {
11635      type boolean;
11636      description
11637        "Neighbor is directly connected";
11638    }
11639    leaf control-packets-on-ip {
11640      type boolean;
11641      description
11642        "Prefer to send BGP control packets on IP";
11643    }
11644    leaf skip-read-count {
11645      type uint32;
11646      description
11647        "Skip Read count";
11648    }
11649    list af-data {
11650      key "af-name";
11651      max-elements "25";
11652      description
11653        "Address family specific neighbor data";
11654      uses BGP-NBR-AF;
11655    }
11656    list version-bump-count {
11657      description
11658        "Total version bumps per event for all AFIs";
11659      uses NBR-TOTAL-BUMPS;
11660    }
11661    list version-rate-stat {
11662      max-elements "4";
11663      description
11664        "Version bump stats per event per interval for
11665         all AFIs";
11666      uses NBR-VER-RATE-DETAIL;
11667    }
11668    list read-throttle-event {
11669      description
11670        "List of the recent events for the neighbor where
11671         socket read was throttled";
11672      uses BGP-NBR-THROTL-STATS-BAG;
11673    }
11674    list read-throttle-events-reset {
11675      description
11676        "List of the recent events for the neighbor where
11677         socket read was throttled before session reset";
11678      uses BGP-NBR-THROTL-STATS-BAG;
11679    }
11680    list write-throttle-event {
11681      description
11682        "List of the recent events for the neighbor where
11683         socket write was throttled";
11684      uses BGP-NBR-THROTL-STATS-BAG;
11685    }
11686    list write-throttle-events-reset {
11687      description
11688        "List of the recent events for the neighbor where
11689         socket write was throttled before session reset";
11690      uses BGP-NBR-THROTL-STATS-BAG;
11691    }
11692  }
11693 
11694  grouping BGP-PATH-MULTI {
11695    description
11696      "BGP path set";
11697    list paths {
11698      description
11699        "BGP paths information";
11700      uses BGP-PATH-BAG;
11701    }
11702    list adv-path-info {
11703      description
11704        "Net Advertized Paths";
11705      uses BGP-PATH-ADV-BAG;
11706    }
11707  }
11708 
11709  grouping BGP-ORR-GROUP-BAG {
11710    description
11711      "BGP ORR Group Information";
11712    container orr-root-address {
11713      description
11714        "ORR Root Address";
11715      uses BGP-ADDRTYPE;
11716    }
11717    container orr-sec-root-address {
11718      description
11719        "ORR Sec Root Address";
11720      uses BGP-ADDRTYPE;
11721    }
11722    container orr-ter-root-address {
11723      description
11724        "ORR ter Root Address";
11725      uses BGP-ADDRTYPE;
11726    }
11727    leaf orr-group-name {
11728      type string;
11729      description
11730        "ORR Group Name";
11731    }
11732    leaf is-orr-root-address-configured {
11733      type boolean;
11734      description
11735        "ORR Root address configured";
11736    }
11737    leaf is-orr-sec-root-address-configured {
11738      type boolean;
11739      description
11740        "ORR Sec Root address configured";
11741    }
11742    leaf is-orr-ter-root-address-configured {
11743      type boolean;
11744      description
11745        "ORR Ter Root address configured";
11746    }
11747    leaf orr-neighbor-count {
11748      type uint32;
11749      description
11750        "ORR neighbor count";
11751    }
11752    leaf orr-index {
11753      type uint32;
11754      description
11755        "ORR index";
11756    }
11757    leaf orr-tableid {
11758      type uint32;
11759      description
11760        "ORR Group tableid";
11761    }
11762  }
11763 
11764  grouping BGP-NBR-ADV-CNT-BAG {
11765    description
11766      "BGP Neighbor adv cnt bag";
11767    leaf max-prefix-advertisedcount {
11768      type uint32;
11769      description
11770        "Number of prefixes advertsied to neighbor";
11771    }
11772  }
11773 
11774  grouping BGP-RECENT-NET-BAG {
11775    description
11776      "BGP Recent Net";
11777    container bgp-prefix {
11778      description
11779        "BGP prefix";
11780      uses BGP-PREFIXTYPE;
11781    }
11782    leaf route-distinguisher {
11783      type xr:Route-dist;
11784      description
11785        "BGP path Route Distinguisher";
11786    }
11787    leaf af-name {
11788      type Bgp-afi;
11789      description
11790        "Address family identifier";
11791    }
11792  }
11793 
11794  grouping BGP-MVPN-EXTCOMM {
11795    description
11796      "MVPN RT list entry";
11797    list bgp-mvpn-extcomm {
11798      description
11799        "Next entry in prefix list";
11800      leaf ext-comm-value {
11801        type yang:hex-string;
11802        description9200      description
11803          "Extended community value";9201        "Net extended flags";
11804      }9202    }
11805      leaf ext-comm-is-stale {9203    leaf net-multipath {
11806        type boolean;9204      type boolean;
11807        description9205      description
11808          "Extended community is stale";9206        "Net has multipaths";
11809      }9207    }
11810    }9208    leaf net-eibgp-multipath {
11811  }9209      type boolean;
11812 
11813  grouping BGP-MVPN-RT-LIST-BAG {
11814    description9210      description
11815      "BGP MVPN RT list bag";9211        "Net has EIBGP multipaths";
11816    container mvpn-extcomm-list {
11817      description
11818        "Prefix list";
11819      uses BGP-MVPN-EXTCOMM;
11820    }
11821    leaf af-name {
11822      type Bgp-afi;
11823      description
11824        "Address family identfier";
11825    }
11826    leaf vrf-ri-exist {
11827      type boolean;
11828      description
11829        "Is Vrf ri existing";
11830    }
11831    leaf router-address {
11832      type inet:ipv4-address;
11833      description
11834        "PE address";
11835    }
11836    leaf vrf-index {
11837      type uint16;
11838      description
11839        "Vrf index";
11840    }
11841    leaf seg-nh-exist {
11842      type boolean;
11843      description
11844        "Is segmented nh existing";
11845    }
11846    leaf seg-nh-address {
11847      type inet:ipv4-address;
11848      description
11849        "Segmented nexthop";
11850    }
11851    leaf source-as-exist {
11852      type boolean;
11853      description
11854        "Is source as exising";
11855    }
11856    leaf source-as {
11857      type uint32;
11858      description
11859        "Source As number";
11860    }
11861    leaf vrf-ri-exist-m {
11862      type boolean;
11863      description
11864        "Is Vrf ri existing for mcast";
11865    }
11866    leaf router-address-m {
11867      type inet:ipv4-address;
11868      description
11869        "PE address for mcast";
11870    }
11871    leaf vrf-index-m {
11872      type uint16;
11873      description
11874        "Vrf index for mcast";
11875    }
11876    leaf seg-nh-exist-m {
11877      type boolean;
11878      description
11879        "Is segmented nh existing for mcast";
11880    }
11881    leaf seg-nh-address-m {
11882      type inet:ipv4-address;
11883      description
11884        "Segmented nexthop for mcast";
11885    }
11886    leaf source-as-exist-m {
11887      type boolean;
11888      description
11889        "Is source as exising for mcast";
11890    }
11891    leaf source-as-m {
11892      type uint32;
11893      description
11894        "Source As number for mcast";
11895    }
11896    leaf connector-src-exist {
11897      type boolean;
11898      description
11899        "Is Connector src existing";
11900    }
11901    leaf connector-src {
11902      type inet:ipv4-address;
11903      description
11904        "Connector src";
11905    }
11906  }9212    }
11907 9213    leaf net-backup-available {
11908  grouping BGP-PATH-ELEM-BAG {9214      type boolean;
11909    description9215      description
11910      "BGP path element";9216        "Net has backup path";
11911    container pelem-path-nexthop {
11912      description
11913        "Path nexthop address";
11914      uses BGP-ADDRTYPE;
11915    }9217    }
n11916    container nh-tunnel {n9218    leaf net-backup-label-rewrite-available {
9219      type boolean;
11917      description9220      description
n11918        "NH tunnel information";n9221        "Net has label rewrite for backup path";
11919      uses BGP-TE-TUNNEL;
11920    }9222    }
n11921    container pelem-path-neighbor-addr {n9223    leaf rib-failed {
9224      type boolean;
11922      description9225      description
n11923        "Path neighbor address";n9226        "RIB install failed";
11924      uses BGP-ADDRTYPE;
11925    }9227    }
n11926    leaf pelem-path-id {n9228    leaf gateway-array {
11927      type uint32;
11928      description
11929        "Local Path ID";
11930    }
11931    leaf pelem-version {
11932      type uint64;9229      type uint32;
9230      description
9231        "Gateway array ID";
9232    }
9233    leaf resilient-nexthop-set {
9234      type uint32;
9235      description
9236        "Resilient nexthop set ID";
9237    }
9238    leaf is-permanent-network {
9239      type boolean;
9240      description
9241        "Permanent Network";
9242    }
9243    leaf num-of-path {
9244      type uint32;
9245      description
9246        "Number of path for this net";
9247    }
9248    leaf version {
9249      type uint32;
11933      description9250      description
11934        "Version";9251        "Version";
n11935    }n
11936    leaf pelem-flags {
11937      type uint32;
11938      description
11939        "Flags";
11940    }
11941    leaf pelem-gw-metric {
11942      type uint32;
11943      description
11944        "Gateway metric";
11945    }
11946    leaf pelem-path-flags {
11947      type uint64;
11948      description
11949        "Path flags";
11950    }
11951    leaf pelem-path-peer-path-id {
11952      type uint32;
11953      description
11954        "Path peer path ID";
11955    }
11956    leaf pelem-table-attr-version {
11957      type uint64;
11958      description
11959        "Table Attr version";
11960    }
11961    leaf pelem-path-table-attr-version {
11962      type uint64;
11963      description
11964        "Path Table Attribute version";
11965    }
11966    leaf pelem-no-bestpath-table-attr-version {
11967      type uint64;
11968      description
11969        "BGP network no best path tableattribute version
11970         number";
11971    }
11972    leaf pelem-no-addpath-table-attr-version {
11973      type uint64;
11974      description
11975        "The version of the no addpath table attribute";
11976    }
11977    leaf is-perm-path-pelem {
11978      type boolean;
11979      description
11980        "Pelem for permanent path";
11981    }
11982  }
11983 
11984  grouping BGP-NET-BAG {
11985    description
11986      "BGP network";
11987    container bgp-prefix {
11988      description
11989        "BGP prefix";
11990      uses BGP-PREFIXTYPE;
11991    }
11992    container version-timestamp {
11993      description
11994        "BGP network version timestamp";
11995      uses BGP-TIMESPEC;
11996    }
11997    container version-age {
11998      description
11999        "BGP network age of version";
12000      uses BGP-TIMESPEC;
12001    }
12002    container delayed-timestamp {
12003      description
12004        "BGP network last delayed timestamp";
12005      uses BGP-TIMESPEC;
12006    }
12007    leaf af-name {
12008      type Bgp-afi;
12009      description
12010        "Address family identifier";
12011    }
12012    leaf process-instance-id {
12013      type uint8;
12014      description
12015        "ID of the BGP process instance";
12016    }
12017    leaf has-inconsistent-paths {
12018      type boolean;
12019      description
12020        "Flag to indicate if inconsistent paths attached
12021         to net";
12022    }
12023    leaf is-net-aggregation-suppressed {
12024      type boolean;
12025      description
12026        "Net suppressed due to aggregation";
12027    }
12028    leaf is-net-aggregate-contributor {
12029      type boolean;
12030      description
12031        "Net is an aggregate contributor";
12032    }
12033    leaf is-net-ldp-signaled {
12034      type boolean;
12035      description
12036        "L2VPN Net LDP signaled  aggregation";
12037    }
12038    leaf table-version {
12039      type uint64;
12040      description
12041        "Table version # for net";
12042    }
12043    leaf table-brib-version {
12044      type uint64;
12045      description
12046        "Table version # for updates";
12047    }
12048    leaf advertisedto-pe {
12049      type boolean;
12050      description
12051        "Net could be advertised to PE peers";
12052    }
12053    leaf has-local-label {
12054      type boolean;
12055      description
12056        "Flag to indicate if local BGP labelassociated
12057         with the net";
12058    }
12059    leaf net-local-label {
12060      type uint32;
12061      description
12062        "Local label";
12063    }
12064    leaf net-label-mode {
12065      type uint32;
12066      description
12067        "Label mode";
12068    }
12069    leaf net-local-label-rewrite {
12070      type boolean;
12071      description
12072        "Net label has rewrite";
12073    }
12074    leaf net-local-label-srgb {
12075      type boolean;
12076      description
12077        "Net label allocated fromSegment routing global
12078         block";
12079    }
12080    leaf has-lbl-retained {
12081      type boolean;
12082      description
12083        "Flag to indicate if BGP network labels are
12084         retained ";
12085    }
12086    leaf route-distinguisher {
12087      type xr:Route-dist;
12088      description
12089        "BGP network Route Distinguisher";
12090    }
12091    leaf vrf-name {
12092      type string;
12093      description
12094        "Name of the VRF";
12095    }
12096    leaf net-flags {
12097      type uint32;
12098      description
12099        "Flags associated with net";
12100    }
12101    leaf net-extended-flags {
12102      type uint32;
12103      description
12104        "BGP network flags for extendedcommunity";
12105    }
12106    leaf net-multipath {
12107      type boolean;
12108      description
12109        "Net has multipaths";
12110    }
12111    leaf net-eibgp-multipath {
12112      type boolean;
12113      description
12114        "Net has EIBGP multipaths";
12115    }
12116    leaf net-backup-available {
12117      type boolean;
12118      description
12119        "Net has backup path";
12120    }
12121    leaf net-backup-label-rewrite-available {
12122      type boolean;
12123      description
12124        "Net has label rewrite for backup path";
12125    }
12126    leaf rib-failed {
12127      type boolean;
12128      description
12129        "RIB install failed";
12130    }
12131    leaf gateway-array {
12132      type uint32;
12133      description
12134        "ID for the gateway array";
12135    }
12136    leaf resilient-nexthop-set {
12137      type uint32;
12138      description
12139        "ID for the Resilient per CEnexthop set";
12140    }
12141    leaf is-permanent-network {
12142      type boolean;
12143      description
12144        "Flag that indicates that the networkhas
12145         permanent path";
12146    }
12147    leaf num-of-path {
12148      type uint32;
12149      description
12150        "Number of path for this net";
12151    }
12152    leaf version {
12153      type uint64;
12154      description
12155        "The version of the the radix tree";
12156    }9252    }
12157    leaf bit {9253    leaf bit {
12158      type uint16;9254      type uint16;
12159      description9255      description
12160        "Bit";9256        "Bit";
12161    }9257    }
12162    leaf flags {9258    leaf flags {
12163      type uint8;9259      type uint8;
12164      description9260      description
12165        "Flags";9261        "Flags";
12166    }9262    }
n12167    leaf has-srv6-sid-allocated {n9263    leaf has-s-rv6sid-allocated {
12168      type boolean;9264      type boolean;
12169      description9265      description
12170        "Net has SRv6 SID allocated";9266        "Net has SRv6 SID allocated";
12171    }9267    }
n12172    leaf srv6-sid-address {n9268    leaf srv6sid-address {
12173      type Ipv6-address;9269      type Ipv6-address;
12174      description9270      description
12175        "SRv6 SID address value";9271        "SRv6 SID address value";
12176    }9272    }
n12177    leaf srv6-sid-address-len {n9273    leaf srv6sid-address-len {
12178      type uint32;9274      type uint32;
12179      description9275      description
12180        "SRv6 SID address Length";9276        "SRv6 SID address Length";
n12181    }n
12182    leaf srv6-sid-format {
12183      type uint32;
12184      description
12185        "SRv6 SID address Format";
12186    }
12187    leaf secondary-label {
12188      type uint32;
12189      description
12190        "Secondary label";
12191    }
12192    leaf backup-gateway-array {
12193      type uint32;
12194      description
12195        "ID for the backup gateway array";
12196    }
12197    leaf backup-resilient-nexthop-set {
12198      type uint32;
12199      description
12200        "ID for the backup Resilientper CE";
12201    }
12202    leaf net-additional-flags {
12203      type uint32;
12204      description
12205        "Additional flags for BGP network";
12206    }
12207    leaf srv6-alloc-mode {
12208      type uint32;
12209      description
12210        "SRv6 alloc mode";
12211    }
12212    leaf srv6-locator-id {
12213      type uint32;
12214      description
12215        "SRv6 Locator ID";
12216    }9277    }
12217    list local-peers-advertised-to {9278    list local-peers-advertised-to {
12218      description9279      description
12219        "Local peers that this prefix has been advertised9280        "Local peers that this prefix has been advertised
12220         to";9281         to";
12221      uses BGP-ADVINFO-TYPE;9282      uses BGP-ADVINFO-TYPE;
12222    }9283    }
12223    list pe-peers-advertised-to {9284    list pe-peers-advertised-to {
12224      description9285      description
12225        "PE peers that this prefix has been advertised to";9286        "PE peers that this prefix has been advertised to";
12226      uses BGP-ADVINFO-TYPE;9287      uses BGP-ADVINFO-TYPE;
12227    }9288    }
n12228    list best-path-orrbitfield {n9289    list best-path-orr-bitfield {
12229      description9290      description
12230        "ORR Best path Bitfields";9291        "ORR Best path Bitfields";
12231      uses BGP-ADVINFO-TYPE;9292      uses BGP-ADVINFO-TYPE;
12232    }9293    }
n12233    list add-path-orrbitfield {n9294    list add-path-orr-bitfield {
12234      description9295      description
12235        "ORR Add path Bitfields";9296        "ORR Add path Bitfields";
12236      uses BGP-ADVINFO-TYPE;9297      uses BGP-ADVINFO-TYPE;
12237    }9298    }
12238    list local-process-instance-path {9299    list local-process-instance-path {
12239      description9300      description
12240        "Local (to process instance) paths for this net ";9301        "Local (to process instance) paths for this net ";
12241      uses BGP-PATH-BAG;9302      uses BGP-PATH-BAG;
12242    }9303    }
12243    list active-process-instance-path {9304    list active-process-instance-path {
12244      description9305      description
n12245        "Path for this net from BGP active instancen9306        "Active's paths for this net ";
12246         process";
12247      uses BGP-PATH-BAG;9307      uses BGP-PATH-BAG;
12248    }9308    }
12249    list local-path-element {9309    list local-path-element {
12250      description9310      description
n12251        "BGP network elements list of thelocal path";n9311        "Local path element list";
12252      uses BGP-PATH-ELEM-BAG;9312      uses BGP-PATH-ELEM-BAG;
12253    }9313    }
12254    list active-path-element {9314    list active-path-element {
12255      description9315      description
12256        "Path element list received from Active inst";9316        "Path element list received from Active inst";
12257      uses BGP-PATH-ELEM-BAG;9317      uses BGP-PATH-ELEM-BAG;
12258    }9318    }
12259  }9319  }
122609320
12261  grouping BGP-UPDGEN-FILTERGRP-BAG {9321  grouping BGP-UPDGEN-FILTERGRP-BAG {
12262    description9322    description
12263      "BGP Update generation Filter-group information";9323      "BGP Update generation Filter-group information";
12264    leaf process-id {9324    leaf process-id {
12265      type uint32;9325      type uint32;
12266      description9326      description
12267        "ProcessID";9327        "ProcessID";
12268    }9328    }
12269    leaf update-vrf-name {9329    leaf update-vrf-name {
12270      type string;9330      type string;
12271      description9331      description
12272        "VRF Name";9332        "VRF Name";
12273    }9333    }
12274    leaf update-group-af-name {9334    leaf update-group-af-name {
12275      type Bgp-afi;9335      type Bgp-afi;
12276      description9336      description
12277        "Address family identifier";9337        "Address family identifier";
12278    }9338    }
12279    leaf update-filter-group-index {9339    leaf update-filter-group-index {
12280      type uint32;9340      type uint32;
12281      description9341      description
12282        "Filter-group index";9342        "Filter-group index";
12283    }9343    }
12284    leaf parent-filter-group-index {9344    leaf parent-filter-group-index {
12285      type uint32;9345      type uint32;
12286      description9346      description
n12287        "In refresh sub group points to then9347        "Parent Filter-group index";
12288         correspondingfilter group in parent subgroup
12289         index";
12290    }9348    }
12291    leaf sub-group-index-xr {9349    leaf sub-group-index-xr {
12292      type uint32;9350      type uint32;
12293      description9351      description
n12294        "Index for the sub-group used when accessing bits";n9352        "Sub-group index";
12295    }9353    }
12296    leaf sub-group-id-xr {9354    leaf sub-group-id-xr {
12297      type uint32;9355      type uint32;
12298      description9356      description
12299        "Sub-group identifier";9357        "Sub-group identifier";
12300    }9358    }
12301    leaf parent-sub-group-index {9359    leaf parent-sub-group-index {
12302      type uint32;9360      type uint32;
12303      description9361      description
n12304        "Index for the subgroup of parent";n9362        "Parent Sub-group index";
12305    }9363    }
12306    leaf parent-sub-group-id {9364    leaf parent-sub-group-id {
12307      type uint32;9365      type uint32;
12308      description9366      description
12309        "Parent Sub-group identifier";9367        "Parent Sub-group identifier";
12310    }9368    }
12311    leaf update-group-index-xr {9369    leaf update-group-index-xr {
12312      type uint32;9370      type uint32;
12313      description9371      description
n12314        "BGP update generation index of update-group";n9372        "Update-group index";
12315    }9373    }
12316    leaf neighbor-count {9374    leaf neighbor-count {
12317      type uint32;9375      type uint32;
12318      description9376      description
n12319        "Number of neighbors in this BGP filter-group";n9377        "Neighbor count";
12320    }
12321  }
12322 
12323  grouping BGP-BMP-CONVERGENCE-LOCALRIB {
12324    description
12325      "BGP BMP CONVERGENCE LOCALRIB";
12326    leaf is-update-gen-pending {
12327      type boolean;
12328      description
12329        "Flag indicating if update generation is pending";
12330    }
12331    leaf table-version {
12332      type uint64;
12333      description
12334        "BMP table version";
12335    }
12336  }
12337 
12338  grouping BGP-BMP-CONVERGENCE-INPOSTPOL {
12339    description
12340      "BGP BMP CONVERGENCE INPOSTPOL";
12341    leaf is-update-gen-pending {
12342      type boolean;
12343      description
12344        "Flag indicating if update generation is pending";
12345    }
12346    leaf is-table-copy-pending {
12347      type boolean;
12348      description
12349        "Flag indicating if table copy is pending";
12350    }
12351    leaf table-version {
12352      type uint64;
12353      description
12354        "BMP table version";
12355    }
12356  }
12357 
12358  grouping BGP-BMP-CONVERGENCE-INPREPOL {
12359    description
12360      "BGP BMP CONVERGENCE INPREPOL";
12361    leaf is-route-refresh-sent {
12362      type boolean;
12363      description
12364        "Flag indicating if route refresh is sent";
12365    }
12366  }
12367 
12368  grouping BGP-BMP-CONVERGENCE-MODE {
12369    description
12370      "BMP mode info";
12371    container inbound-pre-policy-information {
12372      when "../mode = 'inbound-pre-policy'" {
12373        description
12374          "../Mode = 'InboundPrePolicy'";
12375      }
12376      description
12377        "Inbound Pre Policy Information";
12378      uses BGP-BMP-CONVERGENCE-INPREPOL;
12379    }
12380    container inbound-post-policy-information {
12381      when "../mode = 'inbound-post-policy'" {
12382        description
12383          "../Mode = 'InboundPostPolicy'";
12384      }
12385      description
12386        "Inbound Post Policy Information";
12387      uses BGP-BMP-CONVERGENCE-INPOSTPOL;
12388    }
12389    container local-rib-information {
12390      when "../mode = 'local-rib'" {
12391        description
12392          "../Mode = 'LocalRib'";
12393      }
12394      description
12395        "Local RIB Information";
12396      uses BGP-BMP-CONVERGENCE-LOCALRIB;
12397    }
12398    leaf mode {
12399      type Bgp-bmp-mode;
12400      description
12401        "Mode";
12402    }
12403  }
12404 
12405  grouping BGP-BMP-CONVERGENCE-PER-SERVER {
12406    description
12407      "BMP Per server convergence information";
12408    leaf bmp-server-name {
12409      type string;
12410      description
12411        "BMP server name";
12412    }
12413    leaf bmpq-size {
12414      type uint32;
12415      description
12416        "Number of elements in the write Q";
12417    }
12418    leaf update-info-version {
12419      type uint64;
12420      description
12421        "Update information version";
12422    }
12423    leaf server-admin-down {
12424      type boolean;
12425      description
12426        "Server is admin shutdown";
12427    }
12428    leaf server-down {
12429      type boolean;
12430      description
12431        "Server is down";
12432    }
12433  }
12434 
12435  grouping BGP-BMP-CONVERGENCE-BAG {
12436    description
12437      "BGP BMP Convergence information";
12438    container bmp-mode {
12439      description
12440        "BMP mode type";
12441      uses BGP-BMP-CONVERGENCE-MODE;
12442    }
12443    leaf af-name {
12444      type Bgp-afi;
12445      description
12446        "Address family identifier";
12447    }
12448    leaf has-converged {
12449      type boolean;
12450      description
12451        "Convergence has been reached";
12452    }
12453    list bmp-per-server-information {
12454      description
12455        "BMP per server convergence information";
12456      uses BGP-BMP-CONVERGENCE-PER-SERVER;
12457    }9378    }
12458  }9379  }
124599380
12460  grouping BGP-UPDGEN-UPDGRP-BAG {9381  grouping BGP-UPDGEN-UPDGRP-BAG {
12461    description9382    description
12462      "BGP Update generation Update-group information";9383      "BGP Update generation Update-group information";
12463    container last-update-timer-start-timestamp {9384    container last-update-timer-start-timestamp {
12464      description9385      description
n12465        "Start timer update for the last update";n9386        "Last update timer start time";
12466      uses BGP-TIMESPEC;9387      uses BGP-TIMESPEC;
12467    }9388    }
12468    container last-update-timer-stop-timestamp {9389    container last-update-timer-stop-timestamp {
12469      description9390      description
n12470        "Timer stop time for the last update";n9391        "Last update timer stop time";
12471      uses BGP-TIMESPEC;9392      uses BGP-TIMESPEC;
12472    }9393    }
12473    container last-update-timer-expiry-timestamp {9394    container last-update-timer-expiry-timestamp {
12474      description9395      description
n12475        "Timer expiry time update for last update";n9396        "Last update timer expiry time";
12476      uses BGP-TIMESPEC;9397      uses BGP-TIMESPEC;
12477    }9398    }
12478    container last-update-timer-remaining-value {9399    container last-update-timer-remaining-value {
12479      description9400      description
12480        "Update timer remaining time";9401        "Update timer remaining time";
12481      uses BGP-TIMESPEC;9402      uses BGP-TIMESPEC;
12482    }9403    }
12483    container last-update-timer-delay-value {9404    container last-update-timer-delay-value {
12484      description9405      description
n12485        "Number of timer delayed for the last update";n9406        "Last update timer delay value";
12486      uses BGP-TIMESPEC;9407      uses BGP-TIMESPEC;
12487    }9408    }
12488    container update-statistics {9409    container update-statistics {
12489      description9410      description
n12490        "BGP update-group update statistics";n9411        "Update statistics";
12491      uses BGP-UPDGEN-STATS-BAG;9412      uses BGP-UPDGEN-STATS-BAG;
12492    }9413    }
12493    leaf process-id {9414    leaf process-id {
12494      type uint32;9415      type uint32;
12495      description9416      description
12496        "ProcessID";9417        "ProcessID";
12497    }9418    }
12498    leaf update-vrf-name {9419    leaf update-vrf-name {
12499      type string;9420      type string;
12500      description9421      description
12501        "VRF Name";9422        "VRF Name";
12502    }9423    }
12503    leaf update-group-af-name {9424    leaf update-group-af-name {
12504      type Bgp-afi;9425      type Bgp-afi;
12505      description9426      description
12506        "Address family identifier";9427        "Address family identifier";
12507    }9428    }
12508    leaf neighbor-session-af-name {9429    leaf neighbor-session-af-name {
12509      type uint8;9430      type uint8;
12510      description9431      description
12511        "Neighbor session address family";9432        "Neighbor session address family";
12512    }9433    }
12513    leaf update-group-index-xr {9434    leaf update-group-index-xr {
12514      type uint32;9435      type uint32;
12515      description9436      description
n12516        "Index of the BGP update group";n9437        "Update-group index";
12517    }9438    }
12518    leaf update-group-flags2 {9439    leaf update-group-flags2 {
12519      type uint32;9440      type uint32;
12520      description9441      description
12521        "Update-group internal flags2";9442        "Update-group internal flags2";
12522    }9443    }
12523    leaf update-out-queue-messages {9444    leaf update-out-queue-messages {
12524      type uint32;9445      type uint32;
12525      description9446      description
12526        "OutQueue Messages";9447        "OutQueue Messages";
12527    }9448    }
12528    leaf update-out-queue-size {9449    leaf update-out-queue-size {
12529      type uint32;9450      type uint32;
12530      description9451      description
12531        "OutQueue Size";9452        "OutQueue Size";
12532    }9453    }
12533    leaf update-sub-group-count {9454    leaf update-sub-group-count {
12534      type uint32;9455      type uint32;
12535      description9456      description
12536        "Sub-group count";9457        "Sub-group count";
12537    }9458    }
12538    leaf sub-group-throttled-count {9459    leaf sub-group-throttled-count {
12539      type uint32;9460      type uint32;
12540      description9461      description
12541        "Throttled sub-group count";9462        "Throttled sub-group count";
12542    }9463    }
12543    leaf refresh-sub-group-count {9464    leaf refresh-sub-group-count {
12544      type uint32;9465      type uint32;
12545      description9466      description
n12546        "Number of temporary refresh sub groups";n9467        "Refresh sub-group count";
12547    }9468    }
12548    leaf refresh-sub-group-throttled-count {9469    leaf refresh-sub-group-throttled-count {
12549      type uint32;9470      type uint32;
12550      description9471      description
12551        "Throttled refresh sub-group count";9472        "Throttled refresh sub-group count";
12552    }9473    }
12553    leaf filter-group-count {9474    leaf filter-group-count {
12554      type uint32;9475      type uint32;
12555      description9476      description
n12556        "Number of filter groups in BGP update generation";n9477        "Filter-group count";
12557    }9478    }
12558    leaf neighbor-count {9479    leaf neighbor-count {
12559      type uint32;9480      type uint32;
12560      description9481      description
n12561        "Number of neighbors present in BGp updaten9482        "Neighbor count";
12562         generation";
12563    }9483    }
12564    leaf neighbor-leaving-count {9484    leaf neighbor-leaving-count {
12565      type uint32;9485      type uint32;
12566      description9486      description
12567        "Count of neighbors leaving the update-group";9487        "Count of neighbors leaving the update-group";
12568    }9488    }
12569    leaf update-generation-recovery-pending {9489    leaf update-generation-recovery-pending {
12570      type boolean;9490      type boolean;
12571      description9491      description
n12572        "Flag to indicate if update generation recoveryn9492        "Is update generation recovery pending";
12573         is pending";
12574    }9493    }
12575    leaf last-update-timer-expiry-age {9494    leaf last-update-timer-expiry-age {
12576      type uint32;9495      type uint32;
12577      description9496      description
12578        "Time since last update timer expiry event";9497        "Time since last update timer expiry event";
12579    }9498    }
12580    leaf is-update-timer-running {9499    leaf is-update-timer-running {
12581      type boolean;9500      type boolean;
12582      description9501      description
n12583        "Flag to indicate if timer is  running";n9502        "Is update timer running";
12584    }9503    }
12585    leaf perm-pelem-encountered {9504    leaf perm-pelem-encountered {
12586      type uint32;9505      type uint32;
12587      description9506      description
12588        "Count of Perm Pelems seen by updgen";9507        "Count of Perm Pelems seen by updgen";
12589    }9508    }
12590    leaf perm-pelem-allowed {9509    leaf perm-pelem-allowed {
12591      type uint32;9510      type uint32;
12592      description9511      description
12593        "Count of Perm Pelems allowed by updgen";9512        "Count of Perm Pelems allowed by updgen";
12594    }9513    }
12595    leaf perm-pelem-not-allowed {9514    leaf perm-pelem-not-allowed {
12596      type uint32;9515      type uint32;
12597      description9516      description
12598        "Count of Perm Pelems not allowed by updgen";9517        "Count of Perm Pelems not allowed by updgen";
12599    }9518    }
12600    leaf perm-pelem-exp-wdr {9519    leaf perm-pelem-exp-wdr {
12601      type uint32;9520      type uint32;
12602      description9521      description
12603        "Count of Perm Pelems explicitly wdrn by updgen";9522        "Count of Perm Pelems explicitly wdrn by updgen";
12604    }9523    }
12605    leaf perm-pelem-spur-wdr {9524    leaf perm-pelem-spur-wdr {
12606      type uint32;9525      type uint32;
12607      description9526      description
12608        "Count of Perm Pelems Spurious withdraws by9527        "Count of Perm Pelems Spurious withdraws by
12609         updgen";9528         updgen";
12610    }9529    }
12611    leaf is-permanent {9530    leaf is-permanent {
12612      type boolean;9531      type boolean;
12613      description9532      description
12614        "Permanent UG check";9533        "Permanent UG check";
12615    }9534    }
12616  }9535  }
126179536
12618  grouping BGP-BMP-PATH-BAG {9537  grouping BGP-BMP-PATH-BAG {
12619    description9538    description
12620      "BMP Table path details";9539      "BMP Table path details";
12621    container neighbor-address {9540    container neighbor-address {
12622      description9541      description
n12623        "BGP monitoring protocolip address of neighbor";n9542        "Neighbor Address";
12624      uses BGP-ADDRTYPE;9543      uses BGP-ADDRTYPE;
n12625    }n
12626    container next-hop-address {
12627      description
12628        "Nexthop address";
12629      uses BGP-ADDRTYPE;
12630    }
12631    container next-hop {
12632      description
12633        "BGP Next hop information";
12634      uses BGP-ADDRTYPE;
12635    }
12636    container attributes-after-policy-in {
12637      description
12638        "Attributes after inbound policy applied.";
12639      uses BGP-ATTR;
12640    }
12641    container next-hop-ll-address {
12642      description
12643        "Nexthop link-local address";
12644      uses BGP-ADDRTYPE;
12645    }
12646    leaf neighbor-addpath-rx-enabled {
12647      type boolean;
12648      description
12649        "Add-path receive enabled on the neighbor";
12650    }9544    }
12651    leaf bmp-path-flags {9545    leaf bmp-path-flags {
12652      type uint32;9546      type uint32;
12653      description9547      description
12654        "Flags associated with path";9548        "Flags associated with path";
12655    }9549    }
12656    leaf bmp-path-adv-bit-map {9550    leaf bmp-path-adv-bit-map {
12657      type uint16;9551      type uint16;
12658      description9552      description
12659        "Path's Adv bit map";9553        "Path's Adv bit map";
12660    }9554    }
12661    leaf bmp-path-snd-bit-map {9555    leaf bmp-path-snd-bit-map {
12662      type uint16;9556      type uint16;
12663      description9557      description
12664        "Path's pending snd bit map";9558        "Path's pending snd bit map";
12665    }9559    }
12666    leaf bmp-nbr-bit-map {9560    leaf bmp-nbr-bit-map {
12667      type uint32;9561      type uint32;
12668      description9562      description
12669        "Paths Nbr bmp bit map";9563        "Paths Nbr bmp bit map";
12670    }9564    }
12671    leaf local-path {9565    leaf local-path {
12672      type boolean;9566      type boolean;
12673      description9567      description
12674        "Is path originated locally?";9568        "Is path originated locally?";
12675    }9569    }
n12676    leaf received-path-id {n
12677      type uint32;
12678      description
12679        "Received path id";
12680    }
12681    leaf local-preference {
12682      type uint32;
12683      description
12684        "Local preference value";
12685    }
12686    leaf bpath-pointer {9570    leaf bpath-pointer {
12687      type uint64;9571      type uint64;
12688      description9572      description
12689        "BGP Path pointer";9573        "BGP Path pointer";
n12690    }n
12691    leaf process-instance-id {
12692      type uint8;
12693      description
12694        "BGP Process instance ID";
12695    }
12696    leaf advertisedto-pe {
12697      type boolean;
12698      description
12699        "Net could be advertised ";
12700    }
12701    leaf is-path-valid {
12702      type boolean;
12703      description
12704        "Flag to indicate if BGP path attributes are
12705         usable";
12706    }
12707    leaf is-path-locally-sourced {
12708      type boolean;
12709      description
12710        "Path sourced locally";
12711    }
12712    leaf is-path-local-aggregate {
12713      type boolean;
12714      description
12715        "Path is a locally created aggregate";
12716    }
12717    leaf is-path-from-network-command {
12718      type boolean;
12719      description
12720        "Path sourced by network command";
12721    }
12722    leaf is-path-from-redistribute-command {
12723      type boolean;
12724      description
12725        "Path sourced by redistribute command";
12726    }
12727    leaf is-path-imported {
12728      type boolean;
12729      description
12730        "Path is imported";
12731    }
12732    leaf is-permanent-path {
12733      type boolean;
12734      description
12735        "Path is of type Permanent path";
12736    }
12737    leaf is-internal-path {
12738      type boolean;
12739      description
12740        "Received over an internal link";
12741    }
12742    leaf is-atomic-aggregate-present {
12743      type boolean;
12744      description
12745        "Flag to indicate if Atomic aggregate attribute
12746         present";
12747    }
12748    leaf is-best-path {
12749      type boolean;
12750      description
12751        "Best available path";
12752    }
12753    leaf is-as-best {
12754      type boolean;
12755      description
12756        "Best available path within AS";
12757    }
12758    leaf is-path-multipath {
12759      type boolean;
12760      description
12761        "Path is one of multipath best routes";
12762    }
12763    leaf is-path-best-external {
12764      type boolean;
12765      description
12766        "Path is a best external path";
12767    }
12768    leaf is-path-backup {
12769      type boolean;
12770      description
12771        "Path is a backup path ";
12772    }
12773    leaf is-path-backup-protect-multipath {
12774      type boolean;
12775      description
12776        "Path is a backup path to protect multipaths";
12777    }
12778    leaf is-path-imp-candidate {
12779      type boolean;
12780      description
12781        "Path is a candidate for multipath import";
12782    }
12783    leaf is-path-vpn-only {
12784      type boolean;
12785      description
12786        "Path is not in the vrf";
12787    }
12788    leaf local-nh {
12789      type boolean;
12790      description
12791        "Path has local nexthop";
12792    }
12793    leaf labeled-unicast-safi-path {
12794      type boolean;
12795      description
12796        "Path was learnt by labeled-unicast SAFI";
12797    }
12798    leaf path-flags {
12799      type uint64;
12800      description
12801        "Flags associated with path";
12802    }
12803    leaf path-flags2 {
12804      type uint32;
12805      description
12806        "Flags2 associated with path";
12807    }
12808    leaf path-import-flags {
12809      type uint32;
12810      description
12811        "Flags to indicate for import processing in BGP";
12812    }
12813    leaf is-path-from-confederation-peer {
12814      type boolean;
12815      description
12816        "Path received from confederation peer";
12817    }
12818    leaf local-path-id {
12819      type uint32;
12820      description
12821        "Local path ID";
12822    }
12823    leaf path-table-version {
12824      type uint64;
12825      description
12826        "Table version # for pelem";
12827    }
12828    leaf neighbor-router-id {
12829      type inet:ipv4-address;
12830      description
12831        "Router ID of the neighbor for the path";
12832    }
12833    leaf nexthop-interface-handle {
12834      type uint32;
12835      description
12836        "Interface Handle of Nexthop";
12837    }
12838    leaf accept-own-path {
12839      type boolean;
12840      description
12841        "Accept Own";
12842    }
12843    leaf accept-own-self-originated-path {
12844      type boolean;
12845      description
12846        "Flag to indicate if BGP path is Accept-Own
12847         community and self-originated";
12848    }
12849    leaf is-path-not-advertised {
12850      type boolean;
12851      description
12852        "Flag to indicate if path is not advertised to
12853         any peer";
12854    }
12855    leaf is-path-not-advertised-to-ebgp {
12856      type boolean;
12857      description
12858        "Not advertised to EBGPs";
12859    }
12860    leaf is-path-advertised-local-as-only {
12861      type boolean;
12862      description
12863        "Not advertised outside local AS";
12864    }
12865    leaf next-hop-route-distinguisher-valid {
12866      type boolean;
12867      description
12868        "Route Distinguisher of the nexthop is valid";
12869    }
12870    leaf next-hop-route-distinguisher {
12871      type xr:Route-dist;
12872      description
12873        "Route Distinguisher of the nexthop";
12874    }
12875    leaf next-hop-ll-route-distinguisher-valid {
12876      type boolean;
12877      description
12878        "Route Distinguisher of the link-local nexthop is
12879         valid";
12880    }
12881    leaf next-hop-ll-route-distinguisher {
12882      type xr:Route-dist;
12883      description
12884        "Route Distinguisher of the link-local nexthop";
12885    }9574    }
12886    list received-label {9575    list received-label {
12887      description9576      description
12888        "Set of received label stack";9577        "Set of received label stack";
12889      leaf entry {9578      leaf entry {
12890        type uint32;9579        type uint32;
12891        description9580        description
12892          "Set of received label stack";9581          "Set of received label stack";
12893      }9582      }
12894    }9583    }
n12895    list local-peers-advertised-to {n
12896      description
12897        "Local peers that this prefix has been advertised
12898         to";
12899      uses BGP-ADVINFO-TYPE;
12900    }
12901    list pe-peers-advertised-to {
12902      description
12903        "PE peers that this prefix has been advertised to";
12904      uses BGP-ADVINFO-TYPE;
12905    }
12906    list best-path-orrbitfield {
12907      description
12908        "ORR Best path Bitfields";
12909      uses BGP-ADVINFO-TYPE;
12910    }
12911    list add-path-orrbitfield {
12912      description
12913        "ORR Add path Bitfields";
12914      uses BGP-ADVINFO-TYPE;
12915    }
12916  }9584  }
129179585
12918  grouping BGP-BMP-NET-BAG {9586  grouping BGP-BMP-NET-BAG {
12919    description9587    description
12920      "BMP Table net details";9588      "BMP Table net details";
12921    container bgp-prefix {9589    container bgp-prefix {
12922      description9590      description
12923        "BGP prefix";9591        "BGP prefix";
12924      uses BGP-PREFIXTYPE;9592      uses BGP-PREFIXTYPE;
12925    }9593    }
12926    container version-timestamp {9594    container version-timestamp {
12927      description9595      description
12928        "Net Version bump timestamp";9596        "Net Version bump timestamp";
12929      uses BGP-TIMESPEC;9597      uses BGP-TIMESPEC;
12930    }9598    }
12931    container version-age {9599    container version-age {
12932      description9600      description
12933        "Net Version bump age";9601        "Net Version bump age";
12934      uses BGP-TIMESPEC;9602      uses BGP-TIMESPEC;
12935    }9603    }
12936    leaf af-name {9604    leaf af-name {
12937      type Bgp-afi;9605      type Bgp-afi;
12938      description9606      description
12939        "Address family identifier";9607        "Address family identifier";
12940    }9608    }
n12941    leaf route-distinguisher {n
12942      type xr:Route-dist;
12943      description
12944        "Route Distinguisher";
12945    }
12946    leaf rd-version {
12947      type uint64;
12948      description
12949        "Route Distinguisher Version";
12950    }
12951    leaf vrf-name {
12952      type string;
12953      description
12954        "Name of the VRF";
12955    }
12956    leaf bmp-net-flags {9609    leaf bmp-net-flags {
12957      type uint32;9610      type uint32;
12958      description9611      description
12959        "Flags associated with net";9612        "Flags associated with net";
12960    }9613    }
n12961    leaf net-extended-flags {n
12962      type uint32;
12963      description
12964        "BGP network flags for extended";
12965    }
12966    leaf bmp-net-version {9614    leaf bmp-net-version {
n12967      type uint64;n9615      type uint32;
12968      description9616      description
12969        "Net's version";9617        "Net's version";
12970    }9618    }
12971    leaf num-of-path {9619    leaf num-of-path {
12972      type uint32;9620      type uint32;
12973      description9621      description
12974        "Number of path for the net";9622        "Number of path for the net";
12975    }9623    }
12976    leaf has-local-label {9624    leaf has-local-label {
12977      type boolean;9625      type boolean;
12978      description9626      description
n12979        "Flag to indicate if local label is present inn9627        "Net has local label";
12980         netbag";
12981    }9628    }
12982    leaf net-local-label {9629    leaf net-local-label {
12983      type uint32;9630      type uint32;
12984      description9631      description
12985        "Local label";9632        "Local label";
n12986    }n
12987    leaf bmp-mode {
12988      type uint8;
12989      description
12990        "BMP Route Monitoring Mode";
12991    }9633    }
12992    list bmp-path {9634    list bmp-path {
12993      description9635      description
12994        "List of paths under the BMP net";9636        "List of paths under the BMP net";
12995      uses BGP-BMP-PATH-BAG;9637      uses BGP-BMP-PATH-BAG;
12996    }9638    }
12997  }9639  }
129989640
12999  grouping BGP-RTSET {9641  grouping BGP-RTSET {
13000    description9642    description
13001      "BGP RT-set";9643      "BGP RT-set";
13002    leaf rt-set-len {9644    leaf rt-set-len {
13003      type uint8;9645      type uint8;
13004      units "byte";9646      units "byte";
13005      description9647      description
13006        "Length in bytes of set of route targets";9648        "Length in bytes of set of route targets";
13007    }9649    }
13008    leaf rt-set-id {9650    leaf rt-set-id {
13009      type uint32;9651      type uint32;
13010      description9652      description
13011        "Identifier of the rtset";9653        "Identifier of the rtset";
13012    }9654    }
13013    leaf rt-set-net-count {9655    leaf rt-set-net-count {
13014      type uint32;9656      type uint32;
13015      description9657      description
13016        "Count of nets with paths with the rtset";9658        "Count of nets with paths with the rtset";
13017    }9659    }
13018    list rt-set {9660    list rt-set {
13019      description9661      description
13020        "Set of route targets";9662        "Set of route targets";
13021      leaf entry {9663      leaf entry {
13022        type uint8;9664        type uint8;
13023        description9665        description
13024          "Set of route targets";9666          "Set of route targets";
13025      }9667      }
13026    }9668    }
13027  }9669  }
130289670
13029  grouping BGP-RTSET-BAG {9671  grouping BGP-RTSET-BAG {
13030    description9672    description
13031      "BGP RT-set information";9673      "BGP RT-set information";
13032    container route-target-set {9674    container route-target-set {
13033      description9675      description
n13034        "BGP route target set";n9676        "Route Target set";
13035      uses BGP-RTSET;9677      uses BGP-RTSET;
13036    }9678    }
13037  }9679  }
130389680
13039  grouping BGP-INT-NH-GW {9681  grouping BGP-INT-NH-GW {
13040    description9682    description
13041      "BGP Internal Nexthop Gateway Information";9683      "BGP Internal Nexthop Gateway Information";
13042    leaf gateway-flags {9684    leaf gateway-flags {
13043      type uint32;9685      type uint32;
13044      description9686      description
n13045        "Flags in BGP gateway next hop";n9687        "Gateway flags";
13046    }9688    }
13047    leaf registration-type {9689    leaf registration-type {
13048      type Bgp-nh-validate;9690      type Bgp-nh-validate;
13049      description9691      description
n13050        "Registration type for next hop";n9692        "Nexthop registration type";
13051    }9693    }
13052    leaf registration-since {9694    leaf registration-since {
13053      type uint32;9695      type uint32;
13054      description9696      description
13055        "Time since registration";9697        "Time since registration";
13056    }9698    }
13057  }9699  }
130589700
13059  grouping BGP-INT-NH {9701  grouping BGP-INT-NH {
13060    description9702    description
13061      "BGP Internal Nexthop information";9703      "BGP Internal Nexthop information";
13062    container nexthop-address {9704    container nexthop-address {
13063      description9705      description
n13064        "IP address of the next hop in BGP";n9706        "Nexthop address";
13065      uses BGP-ADDRTYPE;9707      uses BGP-ADDRTYPE;
13066    }9708    }
13067    leaf nexthop-id {9709    leaf nexthop-id {
13068      type uint32;9710      type uint32;
13069      description9711      description
13070        "Comm librray ID";9712        "Comm librray ID";
13071    }9713    }
13072    leaf nexthop-version {9714    leaf nexthop-version {
n13073      type uint64;n9715      type uint32;
13074      description9716      description
13075        "Table version";9717        "Table version";
13076    }9718    }
13077    leaf nexthop-flags {9719    leaf nexthop-flags {
13078      type uint32;9720      type uint32;
13079      description9721      description
n13080        "Flags associated with the next hop address inn9722        "Nexthop flags";
13081         BGP";
13082    }9723    }
13083    leaf nexthop-if-handle {9724    leaf nexthop-if-handle {
13084      type uint32;9725      type uint32;
13085      description9726      description
n13086        "Interface handle associated with the next hopn9727        "Nexthop ifhandle";
13087         address in BGP";
13088    }9728    }
13089    leaf nexthop-af-user-bits {9729    leaf nexthop-af-user-bits {
13090      type uint32;9730      type uint32;
13091      description9731      description
13092        "Bitmask indicating the AFs which share the9732        "Bitmask indicating the AFs which share the
13093         nexthop";9733         nexthop";
13094    }9734    }
13095    leaf nexthop-label {9735    leaf nexthop-label {
13096      type uint32;9736      type uint32;
13097      description9737      description
n13098        "Label associated with the next hop address";n9738        "Nexthop label";
13099    }9739    }
13100    leaf gateway-flags {9740    leaf gateway-flags {
13101      type uint32;9741      type uint32;
13102      description9742      description
n13103        "BGP nexthop gateway flags";n9743        "Gateway flags";
13104    }9744    }
13105    list nexthop-metrice {9745    list nexthop-metrice {
13106      description9746      description
n13107        "Metrices associated with the next hop address inn9747        "Nexthop metrices";
13108         
13109         BGP";
13110      leaf entry {9748      leaf entry {
13111        type uint32;9749        type uint32;
13112        description9750        description
n13113          "Metrices associated with the next hop address inn9751          "Nexthop metrices";
13114           
13115           BGP";
13116      }9752      }
13117    }9753    }
13118    list nexthop-refcount {9754    list nexthop-refcount {
13119      description9755      description
n13120        "reference counts for the next hop";n9756        "Nexthop refcounts";
13121      leaf entry {9757      leaf entry {
13122        type uint32;9758        type uint32;
13123        description9759        description
n13124          "reference counts for the next hop";n9760          "Nexthop refcounts";
13125      }
13126    }
13127    list nexthop-encap-type {
13128      description
13129        "Encap types associated with the next hop address
13130         
13131         in BGP";
13132      leaf entry {
13133        type uint16;
13134        description
13135          "Encap types associated with the next hop address
13136           
13137           in BGP";
13138      }9761      }
13139    }9762    }
13140    list nexthop-gateway-internal-info {9763    list nexthop-gateway-internal-info {
13141      description9764      description
13142        "Internal nexthop Gateway info";9765        "Internal nexthop Gateway info";
13143      uses BGP-INT-NH-GW;9766      uses BGP-INT-NH-GW;
13144    }9767    }
13145  }9768  }
131469769
n13147  grouping BGP-NH-METRIC-EVENT {n
13148    description
13149      "BGP nexthop metric change event";
13150    leaf event-time {
13151      type uint64;
13152      description
13153        "Time at which the nexthop metric change occurred
13154         in nsec since epoch";
13155    }
13156    leaf nexthop-metric {
13157      type uint32;
13158      description
13159        "IGP metric for nexthop. Max uint32 value (4,294
13160         ,967,295) indicates the nexthop is unreachable";
13161    }
13162  }
13163 
13164  grouping BGP-NEXTHOP-GW-INFO {9770  grouping BGP-NEXTHOP-GW-INFO {
13165    description9771    description
13166      "BGP Nexthop GW info";9772      "BGP Nexthop GW info";
13167    container nexthop-route {9773    container nexthop-route {
13168      description9774      description
n13169        "Route resolving the nexthop";n9775        "Route resolving the nethop";
13170      uses BGP-ADDRTYPE;9776      uses BGP-ADDRTYPE;
13171    }9777    }
13172    leaf nexthop-route-prefix-length {9778    leaf nexthop-route-prefix-length {
13173      type uint8;9779      type uint8;
13174      description9780      description
13175        "Prefix length of the route resolving the nexthop";9781        "Prefix length of the route resolving the nexthop";
13176    }9782    }
13177    leaf nexthop-route-protocol {9783    leaf nexthop-route-protocol {
13178      type string;9784      type string;
13179      description9785      description
13180        "Protocol that resolves the route to the nexthop";9786        "Protocol that resolves the route to the nexthop";
13181    }9787    }
13182    leaf nexthop-route-path-count {9788    leaf nexthop-route-path-count {
13183      type uint32;9789      type uint32;
13184      description9790      description
n13185        "Count of paths in the resolving route";n9791        "Number of paths in the resolving route";
13186    }9792    }
13187    leaf nexthop-af-invalid-bits {9793    leaf nexthop-af-invalid-bits {
13188      type uint16;9794      type uint16;
13189      description9795      description
n13190        "Bitmask indicating the address-family which haven9796        "Bitmask indicating the AFs which have been
13191         been invalidated for the nexthop";9797         invalidated for the nexthop";
13192    }9798    }
13193    leaf nexthop-status {9799    leaf nexthop-status {
13194      type uint8;9800      type uint8;
13195      description9801      description
n13196        "Status of the next hop address";n9802        "Nexthop status";
13197    }9803    }
13198    leaf nexthop-tableid {9804    leaf nexthop-tableid {
13199      type uint64;9805      type uint64;
13200      description9806      description
n13201        "BGP gateway neighbor route table id";n9807        "Nexthop Table id";
13202    }9808    }
13203    leaf nexthop-metric {9809    leaf nexthop-metric {
13204      type uint32;9810      type uint32;
13205      description9811      description
13206        "IGP metric for nexthop";9812        "IGP metric for nexthop";
n13207    }n
13208    leaf orrafi-used-bits {
13209      type uint32;
13210      description
13211        "ORR afi bits";
13212    }9813    }
13213    leaf last-event-type {9814    leaf last-event-type {
13214      type Bgp-nh-event;9815      type Bgp-nh-event;
13215      description9816      description
13216        "Last nexthop event type";9817        "Last nexthop event type";
13217    }9818    }
13218    leaf last-update-type {9819    leaf last-update-type {
13219      type Bgp-nh-update;9820      type Bgp-nh-update;
13220      description9821      description
13221        "Last nexthop update type";9822        "Last nexthop update type";
13222    }9823    }
13223    leaf critical-events {9824    leaf critical-events {
13224      type uint32;9825      type uint32;
13225      description9826      description
n13226        "Count of critical events received from RIB";n9827        "Number of critical events received from RIB";
13227    }9828    }
13228    leaf non-critical-events {9829    leaf non-critical-events {
13229      type uint32;9830      type uint32;
13230      description9831      description
n13231        "Count of non-critical events received from RIB";n9832        "Number of non-critical events received from RIB";
13232    }9833    }
13233    leaf last-event-since {9834    leaf last-event-since {
13234      type uint32;9835      type uint32;
13235      description9836      description
13236        "Time since the last event sent to or received9837        "Time since the last event sent to or received
13237         from RIB";9838         from RIB";
13238    }9839    }
13239    leaf last-rib-update {9840    leaf last-rib-update {
13240      type uint32;9841      type uint32;
13241      description9842      description
13242        "Time since the last rib update happened";9843        "Time since the last rib update happened";
13243    }9844    }
13244    leaf nexthop-mpls-enabled {9845    leaf nexthop-mpls-enabled {
13245      type boolean;9846      type boolean;
13246      description9847      description
13247        "TRUE if MPLS is configured for IAS/CsC9848        "TRUE if MPLS is configured for IAS/CsC
13248         application";9849         application";
13249    }9850    }
13250    leaf nexthop-mpls-interfaces {9851    leaf nexthop-mpls-interfaces {
13251      type uint32;9852      type uint32;
13252      description9853      description
n13253        "Count of interfaces on which MPLS is enabled";n9854        "Number of interfaces on which MPLS is enabled";
13254    }9855    }
13255    leaf nexthop-mpls-label {9856    leaf nexthop-mpls-label {
13256      type uint32;9857      type uint32;
13257      description9858      description
13258        "Local label allocated for IAS/CsC application";9859        "Local label allocated for IAS/CsC application";
13259    }9860    }
n13260    leaf unreachable-count {n
13261      type uint16;
13262      description
13263        "Number of times the nexthop became unreachable";
13264    }
13265    leaf reachable-count {
13266      type uint16;
13267      description
13268        "Number of times the nexthop became reachable";
13269    }
13270    leaf metric-increase-count {
13271      type uint16;
13272      description
13273        "Number of times metric increased for this
13274         nexthop";
13275    }
13276    leaf metric-decrease-count {
13277      type uint16;
13278      description
13279        "Number of times metric decreased for this
13280         nexthop";
13281    }
13282    leaf last-reachable {
13283      type uint64;
13284      description
13285        "Time at which this nexthop was last reachable in
13286         nsec since epoch";
13287    }
13288    leaf last-unreachable {
13289      type uint64;
13290      description
13291        "Time at which this nexthop was last unreachable
13292         in nsec since epoch";
13293    }
13294    list nexthop-route-path {9861    list nexthop-route-path {
13295      description9862      description
n13296        "Nexthop paths of the resolving route";n9863        "Nexthops of the resolving route";
13297      uses BGP-ADDRTYPE;9864      uses BGP-ADDRTYPE;
n13298    }n
13299    list events {
13300      description
13301        "History of metric and reachablity changes";
13302      uses BGP-NH-METRIC-EVENT;
13303    }9865    }
13304  }9866  }
133059867
13306  grouping BGP-NEXTHOP-BAG {9868  grouping BGP-NEXTHOP-BAG {
13307    description9869    description
13308      "BGP Nexthop info";9870      "BGP Nexthop info";
13309    container nexthop-address {9871    container nexthop-address {
13310      description9872      description
n13311        "IP address of nexthop in BGP";n9873        "Nexthop address";
13312      uses BGP-ADDRTYPE;9874      uses BGP-ADDRTYPE;
13313    }9875    }
13314    container nh-tunnel {9876    container nh-tunnel {
13315      description9877      description
13316        "NH tunnel information";9878        "NH tunnel information";
13317      uses BGP-TE-TUNNEL;9879      uses BGP-TE-TUNNEL;
13318    }9880    }
13319    container nexthop-internal-info {9881    container nexthop-internal-info {
13320      description9882      description
13321        "Internal nexthop info";9883        "Internal nexthop info";
13322      uses BGP-INT-NH;9884      uses BGP-INT-NH;
13323    }9885    }
13324    leaf af-name {9886    leaf af-name {
13325      type Bgp-afi;9887      type Bgp-afi;
13326      description9888      description
13327        "Address family identifier";9889        "Address family identifier";
13328    }9890    }
13329    leaf rib-nexthop-id {9891    leaf rib-nexthop-id {
13330      type uint32;9892      type uint32;
13331      description9893      description
13332        "RIB Nexthop Id";9894        "RIB Nexthop Id";
13333    }9895    }
13334    leaf nexthop-pending-registration {9896    leaf nexthop-pending-registration {
13335      type uint8;9897      type uint8;
13336      description9898      description
13337        "Nexthop registration is pending";9899        "Nexthop registration is pending";
13338    }9900    }
13339    leaf nexthop-reference-count {9901    leaf nexthop-reference-count {
13340      type uint32;9902      type uint32;
13341      description9903      description
n13342        "Count of neighbors/prefixes referencing thisn9904        "Number of neighbors/prefixes referencing this
13343         nexthop";9905         nexthop";
13344    }9906    }
13345    leaf nh-reference-count-total {9907    leaf nh-reference-count-total {
13346      type uint32;9908      type uint32;
13347      description9909      description
n13348        "Count of neighbors/prefixes referencing thisn9910        "Number of neighbors/prefixes referencing this
13349         nexthop (AFs)";9911         nexthop (AFs)";
13350    }9912    }
13351    leaf nh-first-hop-if-handle {9913    leaf nh-first-hop-if-handle {
13352      type xr:Interface-name;9914      type xr:Interface-name;
13353      description9915      description
13354        "First-hop interface handle";9916        "First-hop interface handle";
13355    }9917    }
13356    leaf nexthop-aigp-metric {9918    leaf nexthop-aigp-metric {
13357      type uint32;9919      type uint32;
13358      description9920      description
13359        "AIGP metrice of nexthop";9921        "AIGP metrice of nexthop";
13360    }9922    }
13361    leaf nexthop-gateway-reachable {9923    leaf nexthop-gateway-reachable {
13362      type boolean;9924      type boolean;
13363      description9925      description
n13364        "Flag to indicate if Gateway is reachable";n9926        "Is Gateway reachable ?";
13365    }9927    }
13366    leaf nexthop-gateway-prefix-connected {9928    leaf nexthop-gateway-prefix-connected {
13367      type boolean;9929      type boolean;
13368      description9930      description
n13369        "Flag to indicate if Gateway resolved throughn9931        "Is Gateway resolved through Connected route ?";
13370         Connected route";
13371    }9932    }
13372    leaf nexthop-gateway-prefix-length {9933    leaf nexthop-gateway-prefix-length {
13373      type uint32;9934      type uint32;
13374      description9935      description
13375        "Gateway prefix length";9936        "Gateway prefix length";
13376    }9937    }
n13377    leaf nexthop-hash-slot {n
13378      type uint32;
13379      description
13380        "Sync Hash slot of Nexthop";
13381    }
13382    list nexthop-gateway-info {9938    list nexthop-gateway-info {
13383      description9939      description
n13384        "Gateway related info, including Optimal Routen9940        "Gateway related info, includingOptimal Route
13385         Reflector Gateways";9941         Reflector Gateways";
13386      uses BGP-NEXTHOP-GW-INFO;9942      uses BGP-NEXTHOP-GW-INFO;
13387    }9943    }
13388    list neighbor-address {9944    list neighbor-address {
13389      description9945      description
13390        "Neighbor Address List";9946        "Neighbor Address List";
13391      uses BGP-ADDRTYPE;9947      uses BGP-ADDRTYPE;
13392    }9948    }
13393  }9949  }
133949950
n13395  grouping BGP-NH-PERF-CTRS {n
13396    description
13397      "BGP nexthop counters for a VRF AF";
13398    leaf reachable-count {
13399      type uint64;
13400      description
13401        "Number of times the nexthop became reachable in
13402         this interval";
13403    }
13404    leaf unreachable-count {
13405      type uint64;
13406      description
13407        "Number of times the nexthop became unreachable
13408         in this interval";
13409    }
13410    leaf metric-increase-count {
13411      type uint64;
13412      description
13413        "Number of times metric increased for this
13414         nexthop in this interval";
13415    }
13416    leaf metric-decrease-count {
13417      type uint64;
13418      description
13419        "Number of times metric decreased for this
13420         nexthop in this interval";
13421    }
13422    leaf start-time {
13423      type uint64;
13424      description
13425        "Start time of the interval in nsec since epoch";
13426    }
13427    leaf end-time {
13428      type uint64;
13429      description
13430        "End time of the interval in nsec since epoch";
13431    }
13432    leaf time-duration {
13433      type uint16;
13434      units "minute";
13435      description
13436        "Duration of the interval in minutes";
13437    }
13438  }
13439 
13440  grouping BGP-NEXTHOP-PERF-VRF-AF-BAG {9951  grouping BGP-NEXTHOP-PERF-VRF-AF-BAG {
13441    description9952    description
13442      "BGP nexthop statistics for a VRF AF";9953      "BGP nexthop statistics for a VRF AF";
n13443    container live-counters {n
13444      description
13445        "BGP next hop VRF live counters";
13446      uses BGP-NH-PERF-CTRS;
13447    }
13448    leaf critical-notf-count {9954    leaf critical-notf-count {
13449      type uint32;9955      type uint32;
13450      description9956      description
13451        "Number of critical event notifications from RIB";9957        "Number of critical event notifications from RIB";
13452    }9958    }
13453    leaf noncritical-notf-count {9959    leaf noncritical-notf-count {
13454      type uint32;9960      type uint32;
13455      description9961      description
13456        "Number of non-critical event notifications from9962        "Number of non-critical event notifications from
13457         RIB";9963         RIB";
13458    }9964    }
13459    leaf last-notf-bestpath-deletes {9965    leaf last-notf-bestpath-deletes {
13460      type uint32;9966      type uint32;
13461      description9967      description
13462        "Number of bestpath deletes due to last9968        "Number of bestpath deletes due to last
13463         notification";9969         notification";
13464    }9970    }
13465    leaf last-notf-bestpath-changes {9971    leaf last-notf-bestpath-changes {
13466      type uint32;9972      type uint32;
13467      description9973      description
13468        "Number of bestpath changes due to last9974        "Number of bestpath changes due to last
13469         notification";9975         notification";
13470    }9976    }
13471    leaf nh-sync-reg-calls {9977    leaf nh-sync-reg-calls {
13472      type uint32;9978      type uint32;
13473      description9979      description
13474        "NH sync register calls";9980        "NH sync register calls";
13475    }9981    }
13476    leaf nha-sync-reg-calls {9982    leaf nha-sync-reg-calls {
13477      type uint32;9983      type uint32;
13478      description9984      description
13479        "NH async register calls";9985        "NH async register calls";
13480    }9986    }
13481    leaf nha-sync-un-reg-calls {9987    leaf nha-sync-un-reg-calls {
13482      type uint32;9988      type uint32;
13483      description9989      description
13484        "NH async unregister calls";9990        "NH async unregister calls";
13485    }9991    }
13486    leaf nh-pending-registrations {9992    leaf nh-pending-registrations {
13487      type uint32;9993      type uint32;
13488      description9994      description
13489        "NH Registration List Count";9995        "NH Registration List Count";
13490    }9996    }
13491    leaf nh-peak-registrations {9997    leaf nh-peak-registrations {
13492      type uint32;9998      type uint32;
13493      description9999      description
13494        "NH Registration List Count Peak";10000        "NH Registration List Count Peak";
13495    }10001    }
13496    leaf nh-batch-finish-calls {10002    leaf nh-batch-finish-calls {
13497      type uint32;10003      type uint32;
13498      description10004      description
n13499        "Count of the batch finish calls for next hop";n10005        "NH batch finish calls";
13500    }10006    }
13501    leaf nh-flush-timer-calls {10007    leaf nh-flush-timer-calls {
13502      type uint32;10008      type uint32;
13503      description10009      description
n13504        "Count of the flush timer calls for net hop";n10010        "NH flush timer calls";
13505    }10011    }
13506    leaf nh-last-sync-reg-ts {10012    leaf nh-last-sync-reg-ts {
13507      type uint32;10013      type uint32;
13508      description10014      description
13509        "NH Last sync Register TS";10015        "NH Last sync Register TS";
13510    }10016    }
13511    leaf nh-last-a-sync-reg-ts {10017    leaf nh-last-a-sync-reg-ts {
13512      type uint32;10018      type uint32;
13513      description10019      description
13514        "NH Last async Register TS";10020        "NH Last async Register TS";
13515    }10021    }
13516    leaf nh-last-a-sync-un-reg-ts {10022    leaf nh-last-a-sync-un-reg-ts {
13517      type uint32;10023      type uint32;
13518      description10024      description
13519        "NH Last async UnRegister TS";10025        "NH Last async UnRegister TS";
13520    }10026    }
13521    leaf nh-last-batch-finish-ts {10027    leaf nh-last-batch-finish-ts {
13522      type uint32;10028      type uint32;
13523      description10029      description
13524        "NH Last batch finish TS";10030        "NH Last batch finish TS";
13525    }10031    }
13526    leaf nh-last-flush-timer-ts {10032    leaf nh-last-flush-timer-ts {
13527      type uint32;10033      type uint32;
13528      description10034      description
13529        "NH Last flush timer TS";10035        "NH Last flush timer TS";
13530    }10036    }
13531    leaf nhrib-update-calls {10037    leaf nhrib-update-calls {
13532      type uint32;10038      type uint32;
13533      description10039      description
13534        "No. of calls to RIB update function";10040        "No. of calls to RIB update function";
13535    }10041    }
13536    leaf nhrib-update-time {10042    leaf nhrib-update-time {
13537      type uint32;10043      type uint32;
13538      units "millisecond";10044      units "millisecond";
13539      description10045      description
13540        "Time spent sending RIB updates (milliseconds)";10046        "Time spent sending RIB updates (milliseconds)";
13541    }10047    }
13542    leaf nexthops-sent-to-rib {10048    leaf nexthops-sent-to-rib {
13543      type uint32;10049      type uint32;
13544      description10050      description
13545        "No. of nexthops sent to RIB";10051        "No. of nexthops sent to RIB";
13546    }10052    }
13547    leaf nexthops-resent-to-rib {10053    leaf nexthops-resent-to-rib {
13548      type uint32;10054      type uint32;
13549      description10055      description
13550        "No. of nexthops re-sent to RIB";10056        "No. of nexthops re-sent to RIB";
13551    }10057    }
13552    leaf nexthops-removed-from-rib {10058    leaf nexthops-removed-from-rib {
13553      type uint32;10059      type uint32;
13554      description10060      description
13555        "No. of nexthops withdrawn from RIB";10061        "No. of nexthops withdrawn from RIB";
13556    }10062    }
13557    leaf rib-sync-registers-failed {10063    leaf rib-sync-registers-failed {
13558      type uint32;10064      type uint32;
13559      description10065      description
13560        "No. of sync registers with RIB that failed";10066        "No. of sync registers with RIB that failed";
13561    }10067    }
13562    leaf riba-sync-registers-failed {10068    leaf riba-sync-registers-failed {
13563      type uint32;10069      type uint32;
13564      description10070      description
13565        "No. of async registers with RIB that failed";10071        "No. of async registers with RIB that failed";
13566    }10072    }
13567    leaf ribnh-reg-failed-for-no-tbl-id {10073    leaf ribnh-reg-failed-for-no-tbl-id {
13568      type uint32;10074      type uint32;
13569      description10075      description
13570        "No. of nh registers failed because of no tbl-id";10076        "No. of nh registers failed because of no tbl-id";
13571    }10077    }
13572    leaf ribnh-reg-failed-for-no-rib-conn {10078    leaf ribnh-reg-failed-for-no-rib-conn {
13573      type uint32;10079      type uint32;
13574      description10080      description
13575        "No. of nh registers failed because of no rib10081        "No. of nh registers failed because of no rib
13576         conn";10082         conn";
13577    }10083    }
13578    leaf tunnel-walk-nh-not-found {10084    leaf tunnel-walk-nh-not-found {
13579      type uint32;10085      type uint32;
13580      description10086      description
13581        "No. of times nexthop was not found during tunnel10087        "No. of times nexthop was not found during tunnel
13582         walk";10088         walk";
13583    }10089    }
13584    leaf tunnel-walk-gw-not-found {10090    leaf tunnel-walk-gw-not-found {
13585      type uint32;10091      type uint32;
13586      description10092      description
13587        "No. of times gw was not found during tunnel walk";10093        "No. of times gw was not found during tunnel walk";
13588    }10094    }
13589    leaf tunnel-walk-backup-creates {10095    leaf tunnel-walk-backup-creates {
13590      type uint32;10096      type uint32;
13591      description10097      description
13592        "No. of times backup tid created during tunnel10098        "No. of times backup tid created during tunnel
13593         walk";10099         walk";
13594    }10100    }
n13595    leaf total-unreachable-count {n
13596      type uint64;
13597      description
13598        "Number of times any nexthop became unreachable
13599         in GW AFI";
13600    }
13601    leaf total-reachable-count {
13602      type uint64;
13603      description
13604        "Number of times any nexthop became reachable in
13605         GW AFI";
13606    }
13607    leaf total-metric-increase-count {
13608      type uint64;
13609      description
13610        "Number of times metric increased for any nexthop
13611         in GW AFI";
13612    }
13613    leaf total-metric-decrease-count {
13614      type uint64;
13615      description
13616        "Number of times metric decreased for any nexthop
13617         in GW AFI";
13618    }
13619    list counters {
13620      description
13621        "List of BGP next hop VRF counters";
13622      uses BGP-NH-PERF-CTRS;
13623    }
13624  }10101  }
1362510102
13626  grouping BGP-NEXTHOP-VRF-AF-BAG {10103  grouping BGP-NEXTHOP-VRF-AF-BAG {
13627    description10104    description
13628      "BGP nexthop processing information for a VRF AF";10105      "BGP nexthop processing information for a VRF AF";
13629    container performance-statistics {10106    container performance-statistics {
13630      description10107      description
n13631        "BGP next hop virtual routingand forwardingn
13632         performancestatistics";10108        "Performance statistics";
13633      uses BGP-NEXTHOP-PERF-VRF-AF-BAG;10109      uses BGP-NEXTHOP-PERF-VRF-AF-BAG;
13634    }10110    }
13635    leaf af-name {10111    leaf af-name {
13636      type Bgp-afi;10112      type Bgp-afi;
13637      description10113      description
13638        "Address family identifier";10114        "Address family identifier";
13639    }10115    }
13640    leaf gwaf-name {10116    leaf gwaf-name {
13641      type Bgp-afi;10117      type Bgp-afi;
13642      description10118      description
13643        "GW Address family identifier";10119        "GW Address family identifier";
13644    }10120    }
13645    leaf total-nexthops {10121    leaf total-nexthops {
13646      type uint32;10122      type uint32;
13647      description10123      description
13648        "Total number of nexthops";10124        "Total number of nexthops";
13649    }10125    }
13650    leaf critical-trigger-delay {10126    leaf critical-trigger-delay {
13651      type uint32;10127      type uint32;
13652      description10128      description
13653        "Trigger delay for critical event processing";10129        "Trigger delay for critical event processing";
13654    }10130    }
13655    leaf non-critical-trigger-delay {10131    leaf non-critical-trigger-delay {
13656      type uint32;10132      type uint32;
13657      description10133      description
13658        "Trigger delay for non-critical event processing";10134        "Trigger delay for non-critical event processing";
13659    }10135    }
13660    leaf table-active {10136    leaf table-active {
13661      type boolean;10137      type boolean;
13662      description10138      description
13663        "Whether the VRF is active";10139        "Whether the VRF is active";
13664    }10140    }
13665    leaf nh-rib-up {10141    leaf nh-rib-up {
13666      type boolean;10142      type boolean;
13667      description10143      description
13668        "Whether the VRF is active";10144        "Whether the VRF is active";
13669    }10145    }
13670    leaf nh-rib-version {10146    leaf nh-rib-version {
n13671      type uint64;n10147      type uint32;
13672      description10148      description
13673        "RIB version for gw_ctx";10149        "RIB version for gw_ctx";
13674    }10150    }
13675    leaf nh-nexthop-version {10151    leaf nh-nexthop-version {
n13676      type uint64;n10152      type uint32;
13677      description10153      description
13678        "NH version for gw_ctx";10154        "NH version for gw_ctx";
13679    }10155    }
13680    leaf nh-table-id {10156    leaf nh-table-id {
13681      type uint32;10157      type uint32;
13682      description10158      description
13683        "Gateway context table id";10159        "Gateway context table id";
13684    }10160    }
13685    leaf epe-table-version {10161    leaf epe-table-version {
n13686      type uint64;n10162      type uint32;
13687      description10163      description
13688        "Version of the EPE table";10164        "Version of the EPE table";
13689    }10165    }
13690    leaf epe-label-version {10166    leaf epe-label-version {
n13691      type uint64;n10167      type uint32;
13692      description10168      description
13693        "Version of the EPE label walk";10169        "Version of the EPE label walk";
13694    }10170    }
13695    leaf epe-downloaded-version {10171    leaf epe-downloaded-version {
n13696      type uint64;n10172      type uint32;
13697      description10173      description
13698        "Version of the EPE table downloaded";10174        "Version of the EPE table downloaded";
13699    }10175    }
13700    leaf epe-standby-version {10176    leaf epe-standby-version {
n13701      type uint64;n10177      type uint32;
13702      description10178      description
13703        "Version of the EPE table processed by sync10179        "Version of the EPE table processed by sync
13704         thread";10180         thread";
13705    }10181    }
13706  }10182  }
1370710183
13708  grouping BGP-UPDGEN-SUBGRP-BAG {10184  grouping BGP-UPDGEN-SUBGRP-BAG {
13709    description10185    description
13710      "BGP Update generation Sub-group information";10186      "BGP Update generation Sub-group information";
13711    container creation-timestamp {10187    container creation-timestamp {
13712      description10188      description
13713        "Creation time";10189        "Creation time";
13714      uses BGP-TIMESPEC;10190      uses BGP-TIMESPEC;
13715    }10191    }
13716    container last-merge-timestamp {10192    container last-merge-timestamp {
13717      description10193      description
13718        "Last merge time";10194        "Last merge time";
13719      uses BGP-TIMESPEC;10195      uses BGP-TIMESPEC;
13720    }10196    }
13721    container first-update-walk-start-timestamp {10197    container first-update-walk-start-timestamp {
13722      description10198      description
n13723        "BGP update generation sub-group start time forn10199        "First update walk start time";
13724         the first update walk";
13725      uses BGP-TIMESPEC;10200      uses BGP-TIMESPEC;
13726    }10201    }
13727    container first-update-walk-end-timestamp {10202    container first-update-walk-end-timestamp {
13728      description10203      description
n13729        "BGP update generation sub-group end time forn
13730         thefirst update walk";10204        "First update walk end time";
13731      uses BGP-TIMESPEC;10205      uses BGP-TIMESPEC;
13732    }10206    }
13733    container last-update-walk-start-timestamp {10207    container last-update-walk-start-timestamp {
13734      description10208      description
n13735        "BGP update generation sub-group start forn10209        "Last update walk start time";
13736         thelast update";
13737      uses BGP-TIMESPEC;10210      uses BGP-TIMESPEC;
13738    }10211    }
13739    container last-update-walk-end-timestamp {10212    container last-update-walk-end-timestamp {
13740      description10213      description
n13741        "BGP update generation sub-group end time forn10214        "Last update walk end time";
13742         thelast update";
13743      uses BGP-TIMESPEC;10215      uses BGP-TIMESPEC;
13744    }10216    }
13745    container last-update-queued-timestamp {10217    container last-update-queued-timestamp {
13746      description10218      description
n13747        "Time when last update queued event";n10219        "Last update queued time";
13748      uses BGP-TIMESPEC;10220      uses BGP-TIMESPEC;
13749    }10221    }
13750    container update-statistics {10222    container update-statistics {
13751      description10223      description
n13752        "BGP subgroup statistics update";n10224        "Update statistics";
13753      uses BGP-UPDGEN-STATS-BAG;10225      uses BGP-UPDGEN-STATS-BAG;
13754    }10226    }
13755    leaf process-id {10227    leaf process-id {
13756      type uint32;10228      type uint32;
13757      description10229      description
13758        "ProcessID";10230        "ProcessID";
13759    }10231    }
13760    leaf update-vrf-name {10232    leaf update-vrf-name {
13761      type string;10233      type string;
13762      description10234      description
13763        "VRF Name";10235        "VRF Name";
13764    }10236    }
13765    leaf update-group-af-name {10237    leaf update-group-af-name {
13766      type Bgp-afi;10238      type Bgp-afi;
13767      description10239      description
13768        "Address family identifier";10240        "Address family identifier";
13769    }10241    }
13770    leaf sub-group-index-xr {10242    leaf sub-group-index-xr {
13771      type uint32;10243      type uint32;
13772      description10244      description
n13773        "Index for BGP sub-group";n10245        "Sub-group index";
13774    }10246    }
13775    leaf sub-group-id-xr {10247    leaf sub-group-id-xr {
13776      type uint32;10248      type uint32;
13777      description10249      description
13778        "Sub-group ID";10250        "Sub-group ID";
13779    }10251    }
13780    leaf parent-sub-group-index {10252    leaf parent-sub-group-index {
13781      type uint32;10253      type uint32;
13782      description10254      description
n13783        "Index of the  parent sub-group";n10255        "Parent Sub-group index";
13784    }10256    }
13785    leaf parent-sub-group-id {10257    leaf parent-sub-group-id {
13786      type uint32;10258      type uint32;
13787      description10259      description
13788        "Parent Sub-group identifier";10260        "Parent Sub-group identifier";
13789    }10261    }
13790    leaf update-group-index-xr {10262    leaf update-group-index-xr {
13791      type uint32;10263      type uint32;
13792      description10264      description
n13793        "Index of the this BGp update group";n10265        "Update-group index";
13794    }10266    }
13795    leaf update-main-table-version {10267    leaf update-main-table-version {
n13796      type uint64;n10268      type uint32;
13797      description10269      description
13798        "Main table version";10270        "Main table version";
13799    }10271    }
13800    leaf update-vrf-table-rib-version {10272    leaf update-vrf-table-rib-version {
n13801      type uint64;n10273      type uint32;
13802      description10274      description
13803        "VRF Table RIB version";10275        "VRF Table RIB version";
13804    }10276    }
13805    leaf current-update-limit-sub-group {10277    leaf current-update-limit-sub-group {
13806      type uint32;10278      type uint32;
13807      description10279      description
13808        "Current update limit";10280        "Current update limit";
13809    }10281    }
13810    leaf configured-update-limit-sub-group {10282    leaf configured-update-limit-sub-group {
13811      type uint32;10283      type uint32;
13812      description10284      description
13813        "Configured update limit";10285        "Configured update limit";
13814    }10286    }
13815    leaf update-out-queue-messages {10287    leaf update-out-queue-messages {
13816      type uint32;10288      type uint32;
13817      description10289      description
13818        "OutQueue messages";10290        "OutQueue messages";
13819    }10291    }
13820    leaf update-out-queue-size {10292    leaf update-out-queue-size {
13821      type uint32;10293      type uint32;
13822      description10294      description
13823        "OutQueue size";10295        "OutQueue size";
13824    }10296    }
13825    leaf update-throttled {10297    leaf update-throttled {
13826      type boolean;10298      type boolean;
13827      description10299      description
n13828        "Flag to verify update throttled in BGPupdaten10300        "Is update throttled";
13829         generation sub-group";
13830    }10301    }
13831    leaf refresh-sub-group-count {10302    leaf refresh-sub-group-count {
13832      type uint32;10303      type uint32;
13833      description10304      description
n13834        "Number of times BGP Update generationn10305        "Refresh sub-group count";
13835         sub-grouprefreshed";
13836    }10306    }
13837    leaf filter-group-count {10307    leaf filter-group-count {
13838      type uint32;10308      type uint32;
13839      description10309      description
n13840        "Number of filter groups are present in BGPupdaten10310        "Filter-group count";
13841         generation";
13842    }10311    }
13843    leaf neighbor-count {10312    leaf neighbor-count {
13844      type uint32;10313      type uint32;
13845      description10314      description
n13846        "Number of neighbors in the sub-group";n10315        "Neighbor count";
13847    }10316    }
13848    leaf version {10317    leaf version {
n13849      type uint64;n10318      type uint32;
13850      description10319      description
n13851        "Version up to which we have generated updatesforn10320        "Version";
13852         the entity";
13853    }10321    }
13854    leaf nsr-version {10322    leaf nsr-version {
n13855      type uint64;n10323      type uint32;
13856      description10324      description
13857        "NSR version";10325        "NSR version";
13858    }10326    }
13859    leaf pending-target-version {10327    leaf pending-target-version {
n13860      type uint64;n10328      type uint32;
13861      description10329      description
n13862        "Target version for pending update generation";n10330        "Pending target version";
13863    }10331    }
13864    leaf next-resume-version {10332    leaf next-resume-version {
n13865      type uint64;n10333      type uint32;
13866      description10334      description
n13867        "Version number identifying the next netn10335        "Next resume version";
13868         toprocess when an attribute table walk has been
13869         interrupted";
13870    }10336    }
13871    leaf update-refresh-target-version {10337    leaf update-refresh-target-version {
n13872      type uint64;n10338      type uint32;
13873      description10339      description
n13874        "Target version for update generation in responsen10340        "Refresh target version";
13875         to arefresh request";
13876    }10341    }
13877    leaf io-write-event-pending {10342    leaf io-write-event-pending {
13878      type boolean;10343      type boolean;
13879      description10344      description
n13880        "Flag for an event has been sent to the IO thread";n10345        "Is IO write event pending";
13881    }10346    }
13882    leaf merge-count {10347    leaf merge-count {
13883      type uint32;10348      type uint32;
13884      description10349      description
n13885        "Number of times BGP update sub-groups have beenn10350        "Merge count";
13886         merged";
13887    }10351    }
13888    leaf last-merged-sub-group-index {10352    leaf last-merged-sub-group-index {
13889      type uint32;10353      type uint32;
13890      description10354      description
n13891        "BGP subgroup index merge happened last time";n10355        "Last merged sub-group index";
13892    }10356    }
13893    leaf eo-r-attempted {10357    leaf eo-r-attempted {
13894      type boolean;10358      type boolean;
13895      description10359      description
13896        "Sending EoR has been attempted";10360        "Sending EoR has been attempted";
13897    }10361    }
13898    leaf last-update-walk-end-age {10362    leaf last-update-walk-end-age {
13899      type uint32;10363      type uint32;
13900      description10364      description
13901        "Time since last update walk end event";10365        "Time since last update walk end event";
13902    }10366    }
13903    leaf last-update-queued-age {10367    leaf last-update-queued-age {
13904      type uint32;10368      type uint32;
13905      units "second";10369      units "second";
13906      description10370      description
13907        "Time since last update queued event (in seconds)";10371        "Time since last update queued event (in seconds)";
13908    }10372    }
13909  }10373  }
1391010374
13911  grouping BGP-ATTR-BAG {10375  grouping BGP-ATTR-BAG {
13912    description10376    description
13913      "BGP attribute information";10377      "BGP attribute information";
13914    container attribute-info {10378    container attribute-info {
13915      description10379      description
13916        "Attributes";10380        "Attributes";
13917      uses BGP-ATTR;10381      uses BGP-ATTR;
13918    }10382    }
13919    leaf process-instance-id {10383    leaf process-instance-id {
13920      type uint8;10384      type uint8;
13921      description10385      description
n13922        "BGP attribute process instance ID";n10386        "Process instance ID";
13923    }10387    }
13924    leaf attribute-instance-id {10388    leaf attribute-instance-id {
13925      type uint8;10389      type uint8;
13926      description10390      description
n13927        "Instance ID for BGP attribute context ";n10391        "Attribute Instance ID";
13928    }10392    }
13929    leaf attribute-structure-id {10393    leaf attribute-structure-id {
13930      type uint32;10394      type uint32;
13931      description10395      description
n13932        "BGP ID of attribute structure information";n10396        "ID of attribute structure";
13933    }10397    }
13934    leaf attribute-structure-hash-value {10398    leaf attribute-structure-hash-value {
13935      type uint32;10399      type uint32;
13936      description10400      description
13937        "Hash value for attribute structure";10401        "Hash value for attribute structure";
13938    }10402    }
13939    leaf reference-count {10403    leaf reference-count {
13940      type uint32;10404      type uint32;
13941      description10405      description
13942        "Number of paths which use this attribute10406        "Number of paths which use this attribute
13943         structure";10407         structure";
13944    }10408    }
13945  }10409  }
1394610410
13947  grouping BGP-UPD-FILTERGRP {10411  grouping BGP-UPD-FILTERGRP {
13948    description10412    description
13949      "Update filter-group entry";10413      "Update filter-group entry";
13950    leaf update-filter-group-number {10414    leaf update-filter-group-number {
13951      type uint32;10415      type uint32;
13952      description10416      description
13953        "Update sub-group index";10417        "Update sub-group index";
13954    }10418    }
13955    leaf rts {10419    leaf rts {
13956      type uint32;10420      type uint32;
13957      description10421      description
13958        "RT count per filter group";10422        "RT count per filter group";
13959    }10423    }
13960    leaf fgroup-flags {10424    leaf fgroup-flags {
13961      type uint8;10425      type uint8;
13962      description10426      description
13963        "Flags per filter group";10427        "Flags per filter group";
13964    }10428    }
13965    leaf fgroup-neighbors {10429    leaf fgroup-neighbors {
13966      type uint16;10430      type uint16;
13967      description10431      description
13968        "Nbrs per filter group";10432        "Nbrs per filter group";
13969    }10433    }
13970    leaf fgroup-created-message-elements {10434    leaf fgroup-created-message-elements {
13971      type uint32;10435      type uint32;
13972      description10436      description
13973        "Number of message elems created for filtergroup";10437        "Number of message elems created for filtergroup";
13974    }10438    }
13975    leaf fgroup-deleted-message-elements {10439    leaf fgroup-deleted-message-elements {
13976      type uint32;10440      type uint32;
13977      description10441      description
13978        "Number of message elems deleted";10442        "Number of message elems deleted";
13979    }10443    }
13980    leaf fgroup-queued-message-elements {10444    leaf fgroup-queued-message-elements {
13981      type uint32;10445      type uint32;
13982      description10446      description
13983        "Number of message elems queued";10447        "Number of message elems queued";
13984    }10448    }
13985    leaf fgroup-advertised-prefixes {10449    leaf fgroup-advertised-prefixes {
13986      type uint32;10450      type uint32;
13987      description10451      description
13988        "Number of prefixes advertised to filtergroup in10452        "Number of prefixes advertised to filtergroup in
13989         last update walk";10453         last update walk";
13990    }10454    }
13991    leaf fgroup-total-advertised-prefixes {10455    leaf fgroup-total-advertised-prefixes {
13992      type uint32;10456      type uint32;
13993      description10457      description
13994        "Number of prefixes advertised to filtergroup in10458        "Number of prefixes advertised to filtergroup in
13995         all update walk";10459         all update walk";
13996    }10460    }
13997    leaf fgroup-withdrawn-prefixes {10461    leaf fgroup-withdrawn-prefixes {
13998      type uint32;10462      type uint32;
13999      description10463      description
14000        "Number of prefixes withdrawn f`rom filtergroupin10464        "Number of prefixes withdrawn f`rom filtergroupin
14001         last update walk";10465         last update walk";
14002    }10466    }
14003    leaf fgroup-total-withdrawn-prefixes {10467    leaf fgroup-total-withdrawn-prefixes {
14004      type uint32;10468      type uint32;
14005      description10469      description
14006        "Number of prefixes withdrawn f`rom filtergroupin10470        "Number of prefixes withdrawn f`rom filtergroupin
14007         all update walk";10471         all update walk";
14008    }10472    }
14009    leaf fgroup-total-non-optimised-prefixes {10473    leaf fgroup-total-non-optimised-prefixes {
14010      type uint32;10474      type uint32;
14011      description10475      description
14012        "Number of prefixes  non-optm from filtergroupin10476        "Number of prefixes  non-optm from filtergroupin
14013         all update walk";10477         all update walk";
14014    }10478    }
14015    leaf fgroup-skipped-prefixes {10479    leaf fgroup-skipped-prefixes {
14016      type uint32;10480      type uint32;
14017      description10481      description
14018        "Number of prefixes skipped for filtergroup in10482        "Number of prefixes skipped for filtergroup in
14019         last update walk";10483         last update walk";
14020    }10484    }
14021    leaf fgroup-suppressed-prefixes {10485    leaf fgroup-suppressed-prefixes {
14022      type uint32;10486      type uint32;
14023      description10487      description
14024        "Number of prefixes suppressed for filtergroup in10488        "Number of prefixes suppressed for filtergroup in
14025         last update walk";10489         last update walk";
14026    }10490    }
14027    leaf is-rt-present {10491    leaf is-rt-present {
14028      type boolean;10492      type boolean;
14029      description10493      description
14030        "RT attribute list present";10494        "RT attribute list present";
14031    }10495    }
14032    list extended-community {10496    list extended-community {
14033      description10497      description
14034        "Extended community attribute";10498        "Extended community attribute";
14035      leaf entry {10499      leaf entry {
14036        type uint8;10500        type uint8;
14037        description10501        description
14038          "Extended community attribute";10502          "Extended community attribute";
14039      }10503      }
14040    }10504    }
14041    list neighbor {10505    list neighbor {
14042      description10506      description
14043        "Neighbors in this update sub-group";10507        "Neighbors in this update sub-group";
14044      uses BGP-ADDRTYPE;10508      uses BGP-ADDRTYPE;
14045    }10509    }
14046  }10510  }
1404710511
14048  grouping BGP-UPD-SUBGRP {10512  grouping BGP-UPD-SUBGRP {
14049    description10513    description
14050      "Update sub-group entry";10514      "Update sub-group entry";
14051    leaf update-sub-group-number {10515    leaf update-sub-group-number {
14052      type uint32;10516      type uint32;
14053      description10517      description
14054        "Update sub-group index";10518        "Update sub-group index";
14055    }10519    }
14056    leaf filter-group {10520    leaf filter-group {
14057      type uint16;10521      type uint16;
14058      description10522      description
14059        "Update sub-group fgrp-num";10523        "Update sub-group fgrp-num";
14060    }10524    }
14061    leaf wait-for-eo-rs {10525    leaf wait-for-eo-rs {
14062      type boolean;10526      type boolean;
14063      description10527      description
14064        "Wait for  RT Nbr EoRs";10528        "Wait for  RT Nbr EoRs";
14065    }10529    }
14066    list update-filter-group {10530    list update-filter-group {
14067      description10531      description
14068        "Update f-group list";10532        "Update f-group list";
14069      uses BGP-UPD-FILTERGRP;10533      uses BGP-UPD-FILTERGRP;
14070    }10534    }
14071    list neighbor {10535    list neighbor {
14072      description10536      description
14073        "Neighbors in this subgrp not in any filtergrp";10537        "Neighbors in this subgrp not in any filtergrp";
14074      uses BGP-ADDRTYPE;10538      uses BGP-ADDRTYPE;
14075    }10539    }
14076  }10540  }
1407710541
n14078  grouping BGP-PROCESS-WDR-STATS {n
14079    description
14080      "BGP Withdraw Stats info";
14081    container last-updated-time {
14082      description
14083        "Last update time";
14084      uses BGP-TIMESPEC;
14085    }
14086    leaf not-advertised-count {
14087      type uint32;
14088      description
14089        "Not advertised count";
14090    }
14091  }
14092 
14093  grouping BGP-PERF-UPDGRP {10542  grouping BGP-PERF-UPDGRP {
14094    description10543    description
14095      "BGP PERF UPDGRP";10544      "BGP PERF UPDGRP";
14096    leaf update-generation-calls {10545    leaf update-generation-calls {
14097      type uint32;10546      type uint32;
14098      description10547      description
14099        "No. of calls to update generation function";10548        "No. of calls to update generation function";
14100    }10549    }
14101    leaf update-generation-prefixes-count {10550    leaf update-generation-prefixes-count {
14102      type uint32;10551      type uint32;
14103      description10552      description
14104        "No. of prefixes updates generated for";10553        "No. of prefixes updates generated for";
14105    }10554    }
14106    leaf update-generation-be-prefixes-count {10555    leaf update-generation-be-prefixes-count {
14107      type uint32;10556      type uint32;
14108      description10557      description
14109        "No. of be prefixes updates generated for";10558        "No. of be prefixes updates generated for";
14110    }10559    }
14111    leaf update-generation-messages-count {10560    leaf update-generation-messages-count {
14112      type uint32;10561      type uint32;
14113      description10562      description
14114        "No. of update messages generated";10563        "No. of update messages generated";
14115    }10564    }
14116    leaf update-generation-time {10565    leaf update-generation-time {
14117      type uint32;10566      type uint32;
14118      units "millisecond";10567      units "millisecond";
14119      description10568      description
14120        "Time spent generating updates (milliseconds)";10569        "Time spent generating updates (milliseconds)";
14121    }10570    }
14122    leaf updgen-timer-start-time {10571    leaf updgen-timer-start-time {
14123      type uint64;10572      type uint64;
14124      description10573      description
14125        "Timestamp when update timer started for updgrp";10574        "Timestamp when update timer started for updgrp";
14126    }10575    }
14127    leaf updgen-timer-stop-time {10576    leaf updgen-timer-stop-time {
14128      type uint64;10577      type uint64;
14129      description10578      description
14130        "Timestamp when update timer stopped for updgrp";10579        "Timestamp when update timer stopped for updgrp";
14131    }10580    }
14132    leaf updgen-timer-process-time {10581    leaf updgen-timer-process-time {
14133      type uint64;10582      type uint64;
14134      description10583      description
14135        "Timestamp when update timer processed for updgrp";10584        "Timestamp when update timer processed for updgrp";
14136    }10585    }
n14137    list not-advertised-stat {n
14138      max-elements "35";
14139      description
14140        "Not Advertised Statistics";
14141      uses BGP-PROCESS-WDR-STATS;
14142    }
14143  }10586  }
1414410587
14145  grouping BGP-UPDGRP-BAG {10588  grouping BGP-UPDGRP-BAG {
14146    description10589    description
14147      "BGP Update Group information";10590      "BGP Update Group information";
14148    container performance-statistics {10591    container performance-statistics {
14149      description10592      description
n14150        "Aggregated performance statisticsacross all VRFsn10593        "Performance statistics";
14151         belonging to theparent address family";
14152      uses BGP-PERF-UPDGRP;10594      uses BGP-PERF-UPDGRP;
14153    }10595    }
14154    leaf process-instance-id {10596    leaf process-instance-id {
14155      type uint8;10597      type uint8;
14156      description10598      description
n14157        "Instance ID of the BGP processwhere the pathn10599        "Process instance ID";
14158         originated";
14159    }10600    }
14160    leaf session-af-name {10601    leaf session-af-name {
14161      type uint8;10602      type uint8;
14162      description10603      description
14163        "Neighbor session Address family";10604        "Neighbor session Address family";
14164    }10605    }
14165    leaf update-group-number {10606    leaf update-group-number {
14166      type uint32;10607      type uint32;
14167      description10608      description
14168        "Update group index";10609        "Update group index";
14169    }10610    }
14170    leaf update-group-af-name {10611    leaf update-group-af-name {
14171      type Bgp-afi;10612      type Bgp-afi;
14172      description10613      description
14173        "Address family for update group";10614        "Address family for update group";
14174    }10615    }
14175    leaf should-send-communities {10616    leaf should-send-communities {
14176      type boolean;10617      type boolean;
14177      description10618      description
14178        "Send communities";10619        "Send communities";
14179    }10620    }
14180    leaf should-send-ext-communities {10621    leaf should-send-ext-communities {
14181      type boolean;10622      type boolean;
14182      description10623      description
14183        "Send Extended communities";10624        "Send Extended communities";
14184    }10625    }
14185    leaf should-send-stitching-rt {10626    leaf should-send-stitching-rt {
14186      type boolean;10627      type boolean;
14187      description10628      description
14188        "Send Stitching RT";10629        "Send Stitching RT";
14189    }10630    }
14190    leaf has-orf-receive-capability {10631    leaf has-orf-receive-capability {
14191      type boolean;10632      type boolean;
14192      description10633      description
14193        "ORF receive capability";10634        "ORF receive capability";
14194    }10635    }
14195    leaf is-route-reflector-client {10636    leaf is-route-reflector-client {
14196      type boolean;10637      type boolean;
14197      description10638      description
n14198        "Flag to indicate if peers in this update groupn
14199         are route-reflector clients";10639        "Route-reflector client";
14200    }10640    }
14201    leaf is-client-reflection-disabled {10641    leaf is-client-reflection-disabled {
14202      type boolean;10642      type boolean;
14203      description10643      description
14204        "True if client-to-client reflection is disabled ";10644        "True if client-to-client reflection is disabled ";
14205    }10645    }
14206    leaf accepts-legacy-pe-rt-route {10646    leaf accepts-legacy-pe-rt-route {
14207      type boolean;10647      type boolean;
14208      description10648      description
n14209        "Flag to indicate if provider edge device as an10649        "accept-legacy-pe-RT route";
14210         legacy for the route target";
14211    }10650    }
14212    leaf updgrp-cluster-id {10651    leaf updgrp-cluster-id {
14213      type uint32;10652      type uint32;
14214      description10653      description
14215        "Cluster ID (populated ifclient-to-client10654        "Cluster ID (populated ifclient-to-client
14216         reflectionis disabled)";10655         reflectionis disabled)";
14217    }10656    }
14218    leaf updgrp-cluster-type {10657    leaf updgrp-cluster-type {
14219      type uint8;10658      type uint8;
14220      description10659      description
14221        "Cluster ID type:undefined/number/Ip address";10660        "Cluster ID type:undefined/number/Ip address";
14222    }10661    }
14223    leaf orr-group-name {10662    leaf orr-group-name {
14224      type string;10663      type string;
14225      description10664      description
14226        "ORR Group Name";10665        "ORR Group Name";
14227    }10666    }
14228    leaf orr-group-index {10667    leaf orr-group-index {
14229      type uint32;10668      type uint32;
14230      description10669      description
14231        "ORR Group Index";10670        "ORR Group Index";
14232    }10671    }
14233    leaf is-orr-root-address-configured {10672    leaf is-orr-root-address-configured {
14234      type boolean;10673      type boolean;
14235      description10674      description
14236        "ORR Root address configuredfor the neighbor10675        "ORR Root address configuredfor the neighbor
14237         connection";10676         connection";
14238    }10677    }
14239    leaf should-remove-private-a-ss {10678    leaf should-remove-private-a-ss {
14240      type boolean;10679      type boolean;
14241      description10680      description
14242        "Remove private AS numbers";10681        "Remove private AS numbers";
14243    }10682    }
14244    leaf should-remove-private-as-ent-path {10683    leaf should-remove-private-as-ent-path {
14245      type boolean;10684      type boolean;
14246      description10685      description
14247        "Remove private AS numbersif the entire path10686        "Remove private AS numbersif the entire path
14248         consistsof private ASes";10687         consistsof private ASes";
14249    }10688    }
14250    leaf use-next-hop-self {10689    leaf use-next-hop-self {
14251      type boolean;10690      type boolean;
14252      description10691      description
14253        "Next hop self";10692        "Next hop self";
14254    }10693    }
14255    leaf use-next-hop-unchanged-mpath {10694    leaf use-next-hop-unchanged-mpath {
14256      type boolean;10695      type boolean;
14257      description10696      description
n14258        "This update group haven
14259         next-hop-unchangedmultipath configured";10697        "Next-hop-unchanged multipath";
14260    }10698    }
14261    leaf is-internal-peers {10699    leaf is-internal-peers {
14262      type boolean;10700      type boolean;
14263      description10701      description
n14264        "Peers in this update groupare internal";n10702        "Internal peers";
14265    }10703    }
14266    leaf is-common-admin-peers {10704    leaf is-common-admin-peers {
14267      type boolean;10705      type boolean;
14268      description10706      description
n14269        "Flag to indicate if peers are undercommonn10707        "Common admin peers";
14270         administration in BGP update group";
14271    }10708    }
14272    leaf is4-byte-as-peer {10709    leaf is4-byte-as-peer {
14273      type boolean;10710      type boolean;
14274      description10711      description
14275        "4-byte AS capable peers";10712        "4-byte AS capable peers";
14276    }10713    }
14277    leaf is-addpath-capable {10714    leaf is-addpath-capable {
14278      type boolean;10715      type boolean;
14279      description10716      description
14280        "Add-path capable peers";10717        "Add-path capable peers";
14281    }10718    }
14282    leaf is-send-mcast-attr-enabled {10719    leaf is-send-mcast-attr-enabled {
14283      type boolean;10720      type boolean;
14284      description10721      description
n14285        "Flag to indicate if protocol independentn10722        "Send mcast attribute enabled";
14286         multicast attributes are sent in this update
14287         group";
14288    }10723    }
14289    leaf is-aigp-capable {10724    leaf is-aigp-capable {
14290      type boolean;10725      type boolean;
14291      description10726      description
14292        "AIGP capable peers";10727        "AIGP capable peers";
14293    }10728    }
14294    leaf is-aigp-cost-community-capable {10729    leaf is-aigp-cost-community-capable {
14295      type boolean;10730      type boolean;
14296      description10731      description
14297        "Send AIGP cost community to peers";10732        "Send AIGP cost community to peers";
14298    }10733    }
14299    leaf is-aigp-med-capable {10734    leaf is-aigp-med-capable {
14300      type boolean;10735      type boolean;
14301      description10736      description
14302        "Send AIGP cost in MED";10737        "Send AIGP cost in MED";
14303    }10738    }
14304    leaf is-llgr-capable {10739    leaf is-llgr-capable {
14305      type boolean;10740      type boolean;
14306      description10741      description
14307        "Send Long-lived Stale paths";10742        "Send Long-lived Stale paths";
14308    }10743    }
14309    leaf is-adv-capable {10744    leaf is-adv-capable {
14310      type boolean;10745      type boolean;
14311      description10746      description
14312        "Send tranlsated paths";10747        "Send tranlsated paths";
14313    }10748    }
14314    leaf is-adv-reorg-capable {10749    leaf is-adv-reorg-capable {
14315      type boolean;10750      type boolean;
14316      description10751      description
14317        "Send Re-orig paths";10752        "Send Re-orig paths";
14318    }10753    }
14319    leaf disable-native-advertisement {10754    leaf disable-native-advertisement {
14320      type boolean;10755      type boolean;
14321      description10756      description
14322        "Disable advertising native routes";10757        "Disable advertising native routes";
14323    }10758    }
14324    leaf disable-def-vrf-imp-advertisement {10759    leaf disable-def-vrf-imp-advertisement {
14325      type boolean;10760      type boolean;
14326      description10761      description
14327        "Disable advertising default VRF  imported routes";10762        "Disable advertising default VRF  imported routes";
14328    }10763    }
14329    leaf disable-vrf-re-imp-advertisement {10764    leaf disable-vrf-re-imp-advertisement {
14330      type boolean;10765      type boolean;
14331      description10766      description
14332        "Disable advertising VRF re-imported routes";10767        "Disable advertising VRF re-imported routes";
14333    }10768    }
14334    leaf encapsulation-type {10769    leaf encapsulation-type {
14335      type uint32;10770      type uint32;
14336      description10771      description
n14337        "BGP update group encapsulation type";n10772        "Encapsulation type";
14338    }10773    }
14339    leaf advertise-rt-type {10774    leaf advertise-rt-type {
14340      type uint8;10775      type uint8;
14341      description10776      description
n14342        "BGP update group toadvertise route target type";n10777        "Advertise RT type";
14343    }10778    }
14344    leaf is-directly-connected-ebgp-v6-peers {10779    leaf is-directly-connected-ebgp-v6-peers {
14345      type boolean;10780      type boolean;
14346      description10781      description
n14347        "Flag to indicate an update group is directlyn
14348         connected eBGP peers";10782        "Directly connected EBGP v6 peers";
14349    }10783    }
14350    leaf minimum-advertisement-interval {10784    leaf minimum-advertisement-interval {
14351      type uint32;10785      type uint32;
14352      units "second";10786      units "second";
14353      description10787      description
n14354        "Minimum advert time for peers in thisn10788        "Minimum advertisement interval, secs part";
14355         update-group in seconds";
14356    }10789    }
14357    leaf minimum-advertisement-interval-msecs {10790    leaf minimum-advertisement-interval-msecs {
14358      type uint32;10791      type uint32;
14359      units "millisecond";10792      units "millisecond";
14360      description10793      description
n14361        "Minimum advert time for peers inthis updaten10794        "Minimum advertisement interval, msecs part";
14362         group in milliseconds";
14363    }10795    }
14364    leaf local-as {10796    leaf local-as {
14365      type uint32;10797      type uint32;
14366      description10798      description
14367        "Local AS number";10799        "Local AS number";
14368    }10800    }
14369    leaf route-policy-out {10801    leaf route-policy-out {
14370      type string;10802      type string;
14371      description10803      description
14372        "Outbound route policy name";10804        "Outbound route policy name";
14373    }10805    }
14374    leaf desync-count {10806    leaf desync-count {
14375      type uint32;10807      type uint32;
14376      description10808      description
14377        "Number of times the update has been10809        "Number of times the update has been
14378         desynchronized";10810         desynchronized";
14379    }10811    }
14380    leaf subgrp-merge-count {10812    leaf subgrp-merge-count {
14381      type uint32;10813      type uint32;
14382      description10814      description
14383        "Number of times sub-groups have been merged";10815        "Number of times sub-groups have been merged";
14384    }10816    }
14385    leaf refresh-subgrp-count {10817    leaf refresh-subgrp-count {
14386      type uint32;10818      type uint32;
14387      description10819      description
14388        "Current count of refresh subgroups";10820        "Current count of refresh subgroups";
14389    }10821    }
14390    leaf updates-formatted {10822    leaf updates-formatted {
14391      type uint32;10823      type uint32;
14392      description10824      description
14393        "Number of updates formatted";10825        "Number of updates formatted";
14394    }10826    }
14395    leaf updates-replicated {10827    leaf updates-replicated {
14396      type uint32;10828      type uint32;
14397      description10829      description
n14398        "Number of updates replicatedfor BGP update group";n10830        "No. of updates replicated";
14399    }10831    }
14400    leaf local-as-replace-as {10832    leaf local-as-replace-as {
14401      type boolean;10833      type boolean;
14402      description10834      description
14403        "Local AS Replace-AS option";10835        "Local AS Replace-AS option";
14404    }10836    }
14405    leaf as-override {10837    leaf as-override {
14406      type boolean;10838      type boolean;
14407      description10839      description
14408        "AS Override option";10840        "AS Override option";
14409    }10841    }
14410    leaf soo-value {10842    leaf soo-value {
14411      type string;10843      type string;
14412      description10844      description
14413        "Site-of-origin value";10845        "Site-of-origin value";
14414    }10846    }
14415    leaf split-horizon {10847    leaf split-horizon {
14416      type boolean;10848      type boolean;
14417      description10849      description
14418        "Split horizon check";10850        "Split horizon check";
14419    }10851    }
14420    leaf is-labeled-afi-enabled {10852    leaf is-labeled-afi-enabled {
14421      type boolean;10853      type boolean;
14422      description10854      description
14423        "Update group has labeled AFI enabled";10855        "Update group has labeled AFI enabled";
14424    }10856    }
14425    leaf is-unlabeled-afi-enabled {10857    leaf is-unlabeled-afi-enabled {
14426      type boolean;10858      type boolean;
14427      description10859      description
14428        "Update group has unlabeled AFI enabled";10860        "Update group has unlabeled AFI enabled";
14429    }10861    }
14430    leaf ext-nh-encoding {10862    leaf ext-nh-encoding {
14431      type boolean;10863      type boolean;
14432      description10864      description
14433        "Extended nexthop encoding cap received";10865        "Extended nexthop encoding cap received";
14434    }10866    }
14435    leaf remote-as {10867    leaf remote-as {
14436      type uint32;10868      type uint32;
14437      description10869      description
14438        "Remote AS number";10870        "Remote AS number";
14439    }10871    }
14440    leaf is-adv-perm-net-capable {10872    leaf is-adv-perm-net-capable {
14441      type boolean;10873      type boolean;
14442      description10874      description
14443        "Advertise Permanent-Net capable peers";10875        "Advertise Permanent-Net capable peers";
14444    }10876    }
14445    leaf should-send-gshut-community {10877    leaf should-send-gshut-community {
14446      type boolean;10878      type boolean;
14447      description10879      description
14448        "Send GSHUT community";10880        "Send GSHUT community";
14449    }10881    }
14450    leaf gshut-active {10882    leaf gshut-active {
14451      type boolean;10883      type boolean;
14452      description10884      description
14453        "GSHUT active";10885        "GSHUT active";
14454    }10886    }
14455    leaf gshut-locpref-set {10887    leaf gshut-locpref-set {
14456      type boolean;10888      type boolean;
14457      description10889      description
14458        "GSHUT local preference set";10890        "GSHUT local preference set";
14459    }10891    }
14460    leaf gshut-locpref {10892    leaf gshut-locpref {
14461      type uint32;10893      type uint32;
14462      description10894      description
14463        "GSHUT local preference";10895        "GSHUT local preference";
14464    }10896    }
14465    leaf gshut-prepends {10897    leaf gshut-prepends {
14466      type uint8;10898      type uint8;
14467      description10899      description
14468        "GSHUT AS prepends";10900        "GSHUT AS prepends";
14469    }10901    }
14470    leaf advertise-local-labeled-route-unicast {10902    leaf advertise-local-labeled-route-unicast {
14471      type boolean;10903      type boolean;
14472      description10904      description
14473        "Advertise routes with local-label via Unicast10905        "Advertise routes with local-label via Unicast
14474         SAFI";10906         SAFI";
14475    }10907    }
14476    leaf enable-label-stack {10908    leaf enable-label-stack {
14477      type boolean;10909      type boolean;
14478      description10910      description
n14479        "Enable BGP upgrade group label stack";n10911        "Enable label stack";
14480    }
14481    leaf contains-static-slow-peer {
14482      type boolean;
14483      description
14484        "This update group contains static slow peers";
14485    }
14486    leaf advertise-entropy-label-disable {
14487      type boolean;
14488      description
14489        "Disable propagation of entropy label to this
14490         peer";
14491    }
14492    leaf should-replace-private-a-ss {
14493      type boolean;
14494      description
14495        "Replace private AS numbers";
14496    }
14497    leaf default-policy-action-out-accept {
14498      type boolean;
14499      description
14500        "Default Policy Out Action Configured as Accept";
14501    }
14502    leaf evpn-gateway-ip-advertisement-disable {
14503      type boolean;
14504      description
14505        "Disable Advertisement of non-zero EVPN Gateway
14506         IP";
14507    }10912    }
14508    list neighbor {10913    list neighbor {
14509      description10914      description
14510        "Neighbors in this update group which are not in10915        "Neighbors in this update group which are not in
14511         any sub-group";10916         any sub-group";
14512      uses BGP-ADDRTYPE;10917      uses BGP-ADDRTYPE;
14513    }10918    }
14514    list update-sub-group {10919    list update-sub-group {
14515      description10920      description
n14516        "List of child refresh subgroups inBGP updaten10921        "Update sub-group list";
14517         group";
14518      uses BGP-UPD-SUBGRP;10922      uses BGP-UPD-SUBGRP;
14519    }10923    }
14520  }10924  }
1452110925
14522  grouping BGP-STATIC-ROUTES-BAG {10926  grouping BGP-STATIC-ROUTES-BAG {
14523    description10927    description
14524      "BGP static routes information";10928      "BGP static routes information";
14525    container sourced-prefix {10929    container sourced-prefix {
14526      description10930      description
14527        "Prefix length";10931        "Prefix length";
14528      uses BGP-PREFIXTYPE;10932      uses BGP-PREFIXTYPE;
14529    }10933    }
14530    leaf af-name {10934    leaf af-name {
14531      type Bgp-afi;10935      type Bgp-afi;
14532      description10936      description
14533        "Address family identifier";10937        "Address family identifier";
14534    }10938    }
14535    leaf is-backdoor {10939    leaf is-backdoor {
14536      type boolean;10940      type boolean;
14537      description10941      description
14538        "TRUE if net is a backdoor route";10942        "TRUE if net is a backdoor route";
14539    }10943    }
14540  }10944  }
1454110945
14542  grouping BGP-GLOBAL-PROCESS-INFO-AF-VRF {10946  grouping BGP-GLOBAL-PROCESS-INFO-AF-VRF {
14543    description10947    description
14544      "BGP GLOBAL PROCESS INFO AF VRF";10948      "BGP GLOBAL PROCESS INFO AF VRF";
14545    leaf table-is-active {10949    leaf table-is-active {
14546      type boolean;10950      type boolean;
14547      description10951      description
14548        "Table state is active";10952        "Table state is active";
14549    }10953    }
14550    leaf table-id {10954    leaf table-id {
14551      type uint32;10955      type uint32;
14552      description10956      description
14553        "Table ID";10957        "Table ID";
14554    }10958    }
14555    leaf def-orig-enabled {10959    leaf def-orig-enabled {
14556      type boolean;10960      type boolean;
14557      description10961      description
14558        "Default Orig enabled for a vrf afi";10962        "Default Orig enabled for a vrf afi";
14559    }10963    }
14560    leaf table-version {10964    leaf table-version {
n14561      type uint64;n10965      type uint32;
14562      description10966      description
n14563        "BGP global process table version info";n10967        "Table version";
14564    }10968    }
14565    leaf rd-version {10969    leaf rd-version {
n14566      type uint64;n10970      type uint32;
14567      description10971      description
14568        "RD version";10972        "RD version";
14569    }10973    }
14570    leaf rib-version {10974    leaf rib-version {
n14571      type uint64;n10975      type uint32;
14572      description10976      description
14573        "Table version synced to RIB";10977        "Table version synced to RIB";
14574    }10978    }
14575    leaf nsr-conv-version {10979    leaf nsr-conv-version {
n14576      type uint64;n10980      type uint32;
14577      description10981      description
n14578        "Cache for non stop routingcurrent table version";n10982        "NSR conv version";
14579    }10983    }
14580    leaf nsr-is-conv {10984    leaf nsr-is-conv {
14581      type boolean;10985      type boolean;
14582      description10986      description
14583        "NSR is converged";10987        "NSR is converged";
14584    }10988    }
14585    leaf client-reflection-enabled {10989    leaf client-reflection-enabled {
14586      type boolean;10990      type boolean;
14587      description10991      description
n14588        "Flag to indicate if client-to-client reflectionn10992        "Client reflection enabled";
14589         is enabled";
14590    }10993    }
14591    leaf dampening-enabled {10994    leaf dampening-enabled {
14592      type boolean;10995      type boolean;
14593      description10996      description
n14594        "Flag to enable BGP address-family dampening";n10997        "Dampening enabled";
14595    }10998    }
14596    leaf ebgp-distance {10999    leaf ebgp-distance {
14597      type uint16;11000      type uint16;
14598      description11001      description
14599        "Distance for eBGP routes (external)";11002        "Distance for eBGP routes (external)";
14600    }11003    }
14601    leaf ibgp-distance {11004    leaf ibgp-distance {
14602      type uint16;11005      type uint16;
14603      description11006      description
14604        "Distance for iBGP routes (internal)";11007        "Distance for iBGP routes (internal)";
14605    }11008    }
14606    leaf aggregates-distance {11009    leaf aggregates-distance {
14607      type uint16;11010      type uint16;
14608      description11011      description
14609        "Dist for aggregate routes (local)";11012        "Dist for aggregate routes (local)";
14610    }11013    }
14611    leaf dynamic-med-enabled {11014    leaf dynamic-med-enabled {
14612      type boolean;11015      type boolean;
14613      description11016      description
14614        "Update generation enabled for MED change";11017        "Update generation enabled for MED change";
14615    }11018    }
14616    leaf dynamic-med-interval {11019    leaf dynamic-med-interval {
14617      type uint16;11020      type uint16;
14618      units "minute";11021      units "minute";
14619      description11022      description
14620        "Delay in update generation after a MED change11023        "Delay in update generation after a MED change
14621         (in minutes)";11024         (in minutes)";
14622    }11025    }
14623    leaf dynamic-med-timer-running {11026    leaf dynamic-med-timer-running {
14624      type boolean;11027      type boolean;
14625      description11028      description
n14626        "Flag to indicate if dynamic multi exitn11029        "Dynamic MED timer running";
14627         discriminator (MED) timer is running";
14628    }11030    }
14629    leaf dynamic-med-timer-value {11031    leaf dynamic-med-timer-value {
14630      type uint16;11032      type uint16;
14631      units "second";11033      units "second";
14632      description11034      description
14633        "Dynamic MED timer value (in seconds) left on the11035        "Dynamic MED timer value (in seconds) left on the
14634         timer";11036         timer";
14635    }11037    }
14636    leaf dynamic-med-periodic-timer-running {11038    leaf dynamic-med-periodic-timer-running {
14637      type boolean;11039      type boolean;
14638      description11040      description
n14639        "Dynamic multi exit discriminatorperiodic timern11041        "Dynamic MED periodic timer running";
14640         running";
14641    }11042    }
14642    leaf dynamic-med-periodic-timer-value {11043    leaf dynamic-med-periodic-timer-value {
14643      type uint16;11044      type uint16;
14644      units "second";11045      units "second";
14645      description11046      description
14646        "Dynamic MED periodic timer value (in seconds)11047        "Dynamic MED periodic timer value (in seconds)
14647         left on the timer";11048         left on the timer";
14648    }11049    }
14649    leaf rib-has-converged {11050    leaf rib-has-converged {
14650      type boolean;11051      type boolean;
14651      description11052      description
14652        "Received convergence notification from RIB";11053        "Received convergence notification from RIB";
14653    }11054    }
14654    leaf rib-convergence-version {11055    leaf rib-convergence-version {
14655      type uint32;11056      type uint32;
14656      description11057      description
14657        "Last convergence version received from RIB";11058        "Last convergence version received from RIB";
14658    }11059    }
14659    leaf is-rib-table-full {11060    leaf is-rib-table-full {
14660      type boolean;11061      type boolean;
14661      description11062      description
14662        "Indicates if RIB table is in prefix-limit state";11063        "Indicates if RIB table is in prefix-limit state";
14663    }11064    }
14664    leaf rib-table-full-version {11065    leaf rib-table-full-version {
n14665      type uint64;n11066      type uint32;
14666      description11067      description
14667        "Version when RIB table became full (from11068        "Version when RIB table became full (from
14668         non-full)";11069         non-full)";
14669    }11070    }
n14670    leaf is-unique-nexthop-check-disabled {n
14671      type boolean;
14672      description
14673        "Indicates if unique nexthop check disabled";
14674    }
14675    leaf nexthop-resolution-minimum-prefix-length-configured {11071    leaf nexthop-resolution-minimum-prefix-length-configured {
14676      type boolean;11072      type boolean;
14677      description11073      description
n14678        "Flag to indicate if nexthop resolution minimumn11074        "Is nexthop resoultion minimum prefix-length
14679         prefix-length is configured";11075         configured ?";
14680    }11076    }
14681    leaf nexthop-resolution-minimum-prefix-length {11077    leaf nexthop-resolution-minimum-prefix-length {
14682      type uint32;11078      type uint32;
14683      description11079      description
n14684        "Used to validate prefix-length of resolvingn11080        "Nexthop resoultion minimum prefix-length";
14685         route of nexthopsin BGP";
14686    }
14687    leaf ipv6-nexthop-resolution-minimum-prefix-length-configured {
14688      type boolean;
14689      description
14690        "Flag to indicate if ipv6 nexthop resolution
14691         minimum prefix-length is configured";
14692    }
14693    leaf ipv6-nexthop-resolution-minimum-prefix-length {
14694      type uint32;
14695      description
14696        "Used to validate prefix-length of resolving
14697         route of ipv6 nexthopsin BGP";
14698    }11081    }
14699    leaf selective-ebgp-multipath-enabled {11082    leaf selective-ebgp-multipath-enabled {
14700      type boolean;11083      type boolean;
14701      description11084      description
n14702        "Flag to indicate if the Selective option isn11085        "Selective eBGP multipath isenabled";
14703         configured with multipath external bgp";
14704    }11086    }
14705    leaf selective-ibgp-multipath-enabled {11087    leaf selective-ibgp-multipath-enabled {
14706      type boolean;11088      type boolean;
14707      description11089      description
n14708        "Flag to indicate if the Selective option isn11090        "Selective iBGP multipath isenabled";
14709         configured with multipath internal bgp";
14710    }11091    }
14711    leaf selective-eibgp-multipath-enabled {11092    leaf selective-eibgp-multipath-enabled {
14712      type boolean;11093      type boolean;
14713      description11094      description
n14714        "Flag to indicate if the Selective option isn11095        "Selective eiBGP multipath isenabled";
14715         configured with multipath external internal bgp";
14716    }
14717    leaf deterministic-ibgp-multipath-enabled {
14718      type boolean;
14719      description
14720        "Flag to indicate if Deterministic option is
14721         configured with multipath internal bgp";
14722    }11096    }
14723    leaf rib-acked-table-version {11097    leaf rib-acked-table-version {
n14724      type uint64;n11098      type uint32;
14725      description11099      description
14726        "Table version acked by RIB";11100        "Table version acked by RIB";
n14727    }n
14728    leaf vrf-srv6-sid-alloc-mode {
14729      type uint32;
14730      description
14731        "SID alloc mode of SRv6 under Vrf";
14732    }
14733    leaf isvrf-srv6-enabled {
14734      type boolean;
14735      description
14736        "SRv6 info under a Vrf";
14737    }
14738    leaf vrf-usid-alloc-mode {
14739      type Bgp-usid-alloc-mode;
14740      description
14741        "uSID LIB allocation mode under a Vrf";
14742    }
14743    leaf vrf-srv6-locator {
14744      type string;
14745      description
14746        "SRv6 Locator Name under Vrf";
14747    }
14748    leaf vrf-all-srv6-locator {
14749      type string;
14750      description
14751        "SRv6 Locator Name under Vrf All";
14752    }
14753    leaf vrf-all-srv6-sid-alloc-mode {
14754      type uint32;
14755      description
14756        "SRv6 SID alloc mode under Vrf All";
14757    }
14758    leaf isvrfall-srv6-enabled {
14759      type boolean;
14760      description
14761        "SRv6 info under a Vrf All";
14762    }
14763    leaf vrf-all-usid-alloc-mode {
14764      type Bgp-usid-alloc-mode;
14765      description
14766        "uSID LIB allocation mode under Vrf All";
14767    }
14768    leaf rpki-version {
14769      type uint64;
14770      description
14771        "RPKI table version walked";
14772    }
14773    leaf rpki-soft-reconf-version {
14774      type uint64;
14775      description
14776        "RPKI soft reconfiguration version walked";
14777    }
14778    leaf nexthop-policy {
14779      type string;
14780      description
14781        "Nexthop route policy";
14782    }
14783    leaf label-alloc-mode {
14784      type uint32;
14785      description
14786        "MPLS Label alloc mode under VRF";
14787    }
14788    leaf vrf-all-label-alloc-mode {
14789      type uint32;
14790      description
14791        "MPLS Label alloc mode under VRF all";
14792    }
14793    leaf pfx-dwld-delay {
14794      type uint32;
14795      description
14796        "Prefix Download Delay";
14797    }
14798    leaf oor-threshold {
14799      type uint32;
14800      description
14801        "OOR threshold for prefix download delay";
14802    }
14803    leaf oor-flag {
14804      type boolean;
14805      description
14806        "OOR Flag";
14807    }
14808    list oc-rib-out-attr-pool-size {
14809      max-elements "10";
14810      description
14811        "Memory size for each OCRIB Out attributes chunk";
14812      leaf entry {
14813        type uint32;
14814        description
14815          "Memory size for each OCRIB Out attributes chunk";
14816      }
14817    }
14818    list oc-rib-out-attr-pool-alloc-count {
14819      max-elements "10";
14820      description
14821        "Number of OCRIB Out Attributes allocated per
14822         
14823         pool";
14824      leaf entry {
14825        type uint32;
14826        description
14827          "Number of OCRIB Out Attributes allocated per
14828           
14829           pool";
14830      }
14831    }
14832    list oc-rib-out-attr-pool-free-count {
14833      max-elements "10";
14834      description
14835        "Number of OCRIB Out Attributes freed per pool";
14836      leaf entry {
14837        type uint32;
14838        description
14839          "Number of OCRIB Out Attributes freed per pool";
14840      }
14841    }
14842    list oc-rib-path-count-per-out-attribute {
14843      description
14844        "Current Number of paths having particular number
14845         
14846         of outbound attributes";
14847      leaf entry {
14848        type uint32;
14849        description
14850          "Current Number of paths having particular number
14851           
14852           of outbound attributes";
14853      }
14854    }11101    }
14855  }11102  }
1485611103
14857  grouping BGP-GLOBAL-PROCESS-INFO-AF-GBL {11104  grouping BGP-GLOBAL-PROCESS-INFO-AF-GBL {
14858    description11105    description
14859      "BGP GLOBAL PROCESS INFO AF GBL";11106      "BGP GLOBAL PROCESS INFO AF GBL";
14860    container rib-install {11107    container rib-install {
14861      description11108      description
14862        "RIB install info";11109        "RIB install info";
14863      uses BGP-RIB-INSTALL-TIME-INFO;11110      uses BGP-RIB-INSTALL-TIME-INFO;
n14864    }n
14865    container nets-rpki-sanitized-timestamp {
14866      description
14867        "timestamp of last RPKI sanitized net";
14868      uses BGP-TIMESPEC;
14869    }11111    }
14870    leaf scanner-period {11112    leaf scanner-period {
14871      type uint16;11113      type uint16;
14872      units "second";11114      units "second";
14873      description11115      description
14874        "Period (in seconds) of address-family scanner11116        "Period (in seconds) of address-family scanner
14875         runs";11117         runs";
14876    }11118    }
14877    leaf nh-tunnel-version {11119    leaf nh-tunnel-version {
n14878      type uint64;n11120      type uint32;
14879      description11121      description
14880        "NH Tunnel Version";11122        "NH Tunnel Version";
14881    }11123    }
14882    leaf scan-prefixes {11124    leaf scan-prefixes {
14883      type uint32;11125      type uint32;
14884      description11126      description
14885        "Total prefixes of address-family scanned";11127        "Total prefixes of address-family scanned";
14886    }11128    }
14887    leaf scan-segment-prefixes {11129    leaf scan-segment-prefixes {
14888      type uint32;11130      type uint32;
14889      description11131      description
14890        "Number of prefixes scanned in a segment of11132        "Number of prefixes scanned in a segment of
14891         address-family";11133         address-family";
14892    }11134    }
14893    leaf scan-segments {11135    leaf scan-segments {
14894      type uint8;11136      type uint8;
14895      description11137      description
14896        "Number of segments to scan all prefixes of11138        "Number of segments to scan all prefixes of
14897         address-family";11139         address-family";
14898    }11140    }
14899    leaf inter-as-install-enabled {11141    leaf inter-as-install-enabled {
14900      type boolean;11142      type boolean;
14901      description11143      description
14902        "Is inter-AS install to pim on ASBR enabled";11144        "Is inter-AS install to pim on ASBR enabled";
14903    }11145    }
14904    leaf global-mcast-enabled {11146    leaf global-mcast-enabled {
14905      type boolean;11147      type boolean;
14906      description11148      description
n14907        "Flag to indicate if global routing tablen11149        "Is global table mcast enabled";
14908         multicast is enabled";
14909    }11150    }
14910    leaf segmented-mcast-enabled {11151    leaf segmented-mcast-enabled {
14911      type boolean;11152      type boolean;
14912      description11153      description
n14913        "Flag to indicate if BGP segmented multicast isn11154        "Is segmented mcast enabled";
14914         enabled";
14915    }11155    }
14916    leaf gblafrpki-disable {11156    leaf gblafrpki-disable {
14917      type boolean;11157      type boolean;
14918      description11158      description
14919        "Prefix validation disabled";11159        "Prefix validation disabled";
14920    }11160    }
14921    leaf gblafrpki-use-validity {11161    leaf gblafrpki-use-validity {
14922      type boolean;11162      type boolean;
14923      description11163      description
14924        "Prefix v. use validity";11164        "Prefix v. use validity";
14925    }11165    }
14926    leaf gblafrpki-allow-invalid {11166    leaf gblafrpki-allow-invalid {
14927      type boolean;11167      type boolean;
14928      description11168      description
14929        "Prefix v. allow invalid";11169        "Prefix v. allow invalid";
14930    }11170    }
14931    leaf gblafrpki-signal-ibgp {11171    leaf gblafrpki-signal-ibgp {
14932      type boolean;11172      type boolean;
14933      description11173      description
14934        "Prefix v. signal ibgp";11174        "Prefix v. signal ibgp";
14935    }11175    }
14936    leaf update-wait-install-enabled {11176    leaf update-wait-install-enabled {
14937      type boolean;11177      type boolean;
14938      description11178      description
n14939        "Flag to wait for installation update";n11179        "Update wait-install enabled";
14940    }
14941    leaf update-wait-install-startup-delay {
14942      type uint16;
14943      units "second";
14944      description
14945        "Update wait install startup delay in seconds";
14946    }11180    }
14947    leaf rib-ack-requests {11181    leaf rib-ack-requests {
14948      type uint32;11182      type uint32;
14949      description11183      description
14950        "Counter for RIB ack requests";11184        "Counter for RIB ack requests";
14951    }11185    }
14952    leaf rib-acks-received {11186    leaf rib-acks-received {
14953      type uint32;11187      type uint32;
14954      description11188      description
14955        "Counter for RIB ack received";11189        "Counter for RIB ack received";
14956    }11190    }
14957    leaf rib-slow-acks {11191    leaf rib-slow-acks {
14958      type uint32;11192      type uint32;
14959      description11193      description
14960        "Counter for slow RIB acks";11194        "Counter for slow RIB acks";
14961    }11195    }
14962    leaf is-perm-net-cfg {11196    leaf is-perm-net-cfg {
14963      type boolean;11197      type boolean;
14964      description11198      description
14965        "Permanent Network Enabled";11199        "Permanent Network Enabled";
14966    }11200    }
14967    leaf perm-net-del-count {11201    leaf perm-net-del-count {
14968      type uint16;11202      type uint16;
14969      description11203      description
14970        "Count of removed perm paths";11204        "Count of removed perm paths";
14971    }11205    }
14972    leaf perm-net-stale-del-count {11206    leaf perm-net-stale-del-count {
14973      type uint16;11207      type uint16;
14974      description11208      description
14975        "Count of stale perm paths";11209        "Count of stale perm paths";
14976    }11210    }
14977    leaf perm-net-stale-mark-count {11211    leaf perm-net-stale-mark-count {
14978      type uint16;11212      type uint16;
14979      description11213      description
14980        "Count of stale marked perm paths";11214        "Count of stale marked perm paths";
14981    }11215    }
14982    leaf perm-net-insert-count {11216    leaf perm-net-insert-count {
14983      type uint16;11217      type uint16;
14984      description11218      description
14985        "Count of inserted perm paths";11219        "Count of inserted perm paths";
14986    }11220    }
14987    leaf perm-net-existing-count {11221    leaf perm-net-existing-count {
14988      type uint16;11222      type uint16;
14989      description11223      description
14990        "Count of existing perm paths";11224        "Count of existing perm paths";
14991    }11225    }
14992    leaf perm-net-rpl-query-count {11226    leaf perm-net-rpl-query-count {
14993      type uint16;11227      type uint16;
14994      description11228      description
14995        "Count of perm nets given by RPL";11229        "Count of perm nets given by RPL";
14996    }11230    }
14997    leaf perm-net-rpl-process-count {11231    leaf perm-net-rpl-process-count {
14998      type uint16;11232      type uint16;
14999      description11233      description
15000        "Count of perm nets processed in RPL";11234        "Count of perm nets processed in RPL";
15001    }11235    }
15002    leaf perm-nbr-count {11236    leaf perm-nbr-count {
15003      type uint16;11237      type uint16;
15004      description11238      description
15005        "Count of neighbors configured with perm net";11239        "Count of neighbors configured with perm net";
15006    }11240    }
15007    leaf rib-perm-pelem-not-found-count {11241    leaf rib-perm-pelem-not-found-count {
15008      type uint16;11242      type uint16;
15009      description11243      description
15010        "";11244        "";
15011    }11245    }
15012    leaf rib-perm-path-not-found-count {11246    leaf rib-perm-path-not-found-count {
15013      type uint16;11247      type uint16;
15014      description11248      description
15015        "";11249        "";
15016    }11250    }
15017    leaf rib-perm-pelem-found-count {11251    leaf rib-perm-pelem-found-count {
15018      type uint16;11252      type uint16;
15019      description11253      description
15020        "";11254        "";
15021    }11255    }
15022    leaf rib-reg-path-found-count {11256    leaf rib-reg-path-found-count {
15023      type uint16;11257      type uint16;
15024      description11258      description
15025        "";11259        "";
15026    }11260    }
15027    leaf rib-perm-path-found-count {11261    leaf rib-perm-path-found-count {
15028      type uint16;11262      type uint16;
15029      description11263      description
15030        "";11264        "";
15031    }11265    }
15032    leaf perm-pelem-free-count {11266    leaf perm-pelem-free-count {
15033      type uint16;11267      type uint16;
15034      description11268      description
15035        "Count of freed perm pelems";11269        "Count of freed perm pelems";
15036    }11270    }
15037    leaf perm-path-refresh-count {11271    leaf perm-path-refresh-count {
15038      type uint16;11272      type uint16;
15039      description11273      description
15040        "Count of perm paths refreshed";11274        "Count of perm paths refreshed";
15041    }11275    }
15042    leaf perm-pelem-bump-count {11276    leaf perm-pelem-bump-count {
15043      type uint16;11277      type uint16;
15044      description11278      description
15045        "Count of bumped perm pelems";11279        "Count of bumped perm pelems";
15046    }11280    }
15047    leaf perm-pelem-all-bump-count {11281    leaf perm-pelem-all-bump-count {
15048      type uint16;11282      type uint16;
15049      description11283      description
15050        "Count of bumped perm pelems";11284        "Count of bumped perm pelems";
15051    }11285    }
n15052    leaf af-srv6-sid-alloc-mode {n
15053      type uint32;
15054      description
15055        "SID alloc mode of SRv6 under AF";
15056    }
15057    leaf af-srv6-locator {
15058      type string;
15059      description
15060        "SRv6 Locator Name under AF";
15061    }
15062    leaf af-usid-alloc-mode {
15063      type Bgp-usid-alloc-mode;
15064      description
15065        "uSID LIB allocation mode";
15066    }
15067    leaf nets-rpki-sanitized {
15068      type uint32;
15069      description
15070        "Count of nets that had RPKI validity repaired by
15071         the background sanitizer";
15072    }
15073    leaf scoped-sync-last-msg-failed-cnt {
15074      type uint32;
15075      description
15076        "Num of time scoped sync last msg sent failure";
15077    }
15078    leaf scoped-sync-last-msg-resumed-cnt {
15079      type uint32;
15080      description
15081        "Num of time scoped sync resumed for last msg
15082         failure";
15083    }
15084    leaf scoped-sync-default-rt-stopped-cnt {
15085      type uint32;
15086      description
15087        "Num of time scoped sync default RT stopped";
15088    }
15089    leaf scoped-sync-default-rt-resumed-cnt {
15090      type uint32;
15091      description
15092        "Num of time scoped sync default RT resumed";
15093    }
15094    leaf scoped-sync-default-rt-lookup-failed-cnt {
15095      type uint32;
15096      description
15097        "Num of time scoped sync default rt lookup failed";
15098    }
15099    list syncgrp-version {11286    list syncgrp-version {
15100      max-elements "2";11287      max-elements "2";
15101      description11288      description
15102        "Sync-group Version";11289        "Sync-group Version";
15103      leaf entry {11290      leaf entry {
n15104        type uint64;n11291        type uint32;
15105        description11292        description
15106          "Sync-group Version";11293          "Sync-group Version";
15107      }11294      }
15108    }11295    }
15109  }11296  }
1511011297
15111  grouping BGP-GLOBAL-PROCESS-INFO-AF-BAG {11298  grouping BGP-GLOBAL-PROCESS-INFO-AF-BAG {
15112    description11299    description
15113      "BGP address family specific information common to11300      "BGP address family specific information common to
15114       all BGP processes";11301       all BGP processes";
15115    container global {11302    container global {
15116      description11303      description
15117        "Global information";11304        "Global information";
15118      uses BGP-GLOBAL-PROCESS-INFO-AF-GBL;11305      uses BGP-GLOBAL-PROCESS-INFO-AF-GBL;
15119    }11306    }
15120    container vrf {11307    container vrf {
15121      description11308      description
15122        "VRF information";11309        "VRF information";
15123      uses BGP-GLOBAL-PROCESS-INFO-AF-VRF;11310      uses BGP-GLOBAL-PROCESS-INFO-AF-VRF;
15124    }11311    }
15125    leaf vrf-name {11312    leaf vrf-name {
15126      type string;11313      type string;
15127      description11314      description
15128        "Name of the VRF";11315        "Name of the VRF";
15129    }11316    }
15130    leaf af-name {11317    leaf af-name {
15131      type Bgp-afi;11318      type Bgp-afi;
15132      description11319      description
15133        "Address family id";11320        "Address family id";
15134    }11321    }
15135    leaf is-nsr-enabled {11322    leaf is-nsr-enabled {
15136      type boolean;11323      type boolean;
15137      description11324      description
15138        "Non-stop routing enabled";11325        "Non-stop routing enabled";
15139    }11326    }
15140  }11327  }
1514111328
n15142  grouping BGP-RPC-NEXTHOPSET {n11329  grouping BGP-RPC-SET-BAG {
11330    description
11331      "BGP RPC SET BAG";
11332    leaf next-hop-xr {
11333      type uint32;
15143    description11334      description
15144      "BGP RPC NEXTHOPSET";11335        "Number of multipath next-hops";
15145    container nexthop-addr {11336    }
11337    leaf label {
11338      type uint32;
11339      description
11340        "Label assigned to the RPCnext-hop set";
11341    }
11342    leaf ref-count {
11343      type uint32;
11344      description
11345        "Refcount";
11346    }
11347    leaf srv6sid-address {
11348      type Ipv6-address;
11349      description
11350        "SRv6 SID address value";
11351    }
11352    leaf srv6sid-address-len {
11353      type uint32;
11354      description
11355        "SRv6 SID address Length";
11356    }
11357    list next-hop {
15146      description11358      description
15147        "List of multipath next-hops";11359        "List of multipath next-hops";
15148      uses BGP-ADDRTYPE;11360      uses BGP-ADDRTYPE;
15149    }11361    }
n15150    leaf received-label {n
15151      type uint32;
15152      description
15153        "Received labl for the path";
15154    }
15155  }
15156 
15157  grouping BGP-RPC-SET-BAG {
15158    description
15159      "BGP RPC SET BAG";
15160    leaf next-hop-xr {
15161      type uint32;
15162      description
15163        "Number of multipath next-hops";
15164    }
15165    leaf label {
15166      type uint32;
15167      description
15168        "Label assigned to the RPCnext-hop set";
15169    }
15170    leaf ref-count {
15171      type uint32;
15172      description
15173        "Reference for the count";
15174    }
15175    leaf srv6-sid-address {
15176      type Ipv6-address;
15177      description
15178        "SRv6 SID address value";
15179    }
15180    leaf srv6-sid-address-len {
15181      type uint32;
15182      description
15183        "SRv6 SID address Length";
15184    }
15185    leaf locator-format {
15186      type uint32;
15187      description
15188        "Locator Format";
15189    }
15190    leaf retain-counter {
15191      type uint8;
15192      description
15193        "RPC retain counter";
15194    }
15195    list next-hop {
15196      description
15197        "List of multipath next-hops";
15198      uses BGP-RPC-NEXTHOPSET;
15199    }
15200  }11362  }
1520111363
15202  grouping BGP-BMP-TBL-GBL-BAG {11364  grouping BGP-BMP-TBL-GBL-BAG {
15203    description11365    description
15204      "BMP Table global information";11366      "BMP Table global information";
nn11367    container bmp-version-wrap-time-spec {
11368      description
11369        "Version Wrap timestamp";
11370      uses BGP-TIMESPEC;
11371    }
11372    container bmp-version-wrap-start-time-spec {
11373      description
11374        "Version Wrap handle start timestamp";
11375      uses BGP-TIMESPEC;
11376    }
11377    container bmp-version-wrap-done-time-spec {
11378      description
11379        "Version Wrap handle Done timestamp";
11380      uses BGP-TIMESPEC;
11381    }
15205    leaf bmp-route-monitoringe-enabled {11382    leaf bmp-route-monitoringe-enabled {
15206      type boolean;11383      type boolean;
15207      description11384      description
15208        "Is Route Monitoring mode enabled";11385        "Is Route Monitoring mode enabled";
15209    }11386    }
15210    leaf bmp-table-version {11387    leaf bmp-table-version {
n15211      type uint64;n11388      type uint32;
15212      description11389      description
15213        "Table version";11390        "Table version";
15214    }11391    }
n15215    leaf rd-count {n
15216      type uint32;
15217      description
15218        "Number of RDs in the table";
15219    }
15220    leaf network-count {11392    leaf network-count {
15221      type uint32;11393      type uint32;
15222      description11394      description
15223        "Number of nets in the table";11395        "Number of nets in the table";
15224    }11396    }
15225    leaf path-count {11397    leaf path-count {
15226      type uint32;11398      type uint32;
15227      description11399      description
15228        "Number of paths in the table";11400        "Number of paths in the table";
nn11401    }
11402    leaf bmp-version-wrapped {
11403      type uint32;
11404      description
11405        "Number of times Table Version Wrapped";
11406    }
11407    leaf bmp-version-wrapped-tid {
11408      type uint32;
11409      description
11410        "Version Wrapped trigger thread id";
11411    }
11412    leaf bmp-version-inprogress {
11413      type boolean;
11414      description
11415        "Is Version wrap in progress";
11416    }
11417    leaf bmp-version-incremented {
11418      type boolean;
11419      description
11420        "Is Version being incremented";
15229    }11421    }
15230  }11422  }
1523111423
15232  grouping BGP-PATH-BAG {11424  grouping BGP-PATH-BAG {
15233    description11425    description
15234      "BGP path";11426      "BGP path";
15235    container advertised-neighbor {11427    container advertised-neighbor {
15236      description11428      description
15237        "Advertised Neighbor Address. Valid in the case11429        "Advertised Neighbor Address. Valid in the case
15238         of Advertised table";11430         of Advertised table";
15239      uses BGP-ADDRTYPE;11431      uses BGP-ADDRTYPE;
15240    }11432    }
15241    container path-information {11433    container path-information {
15242      description11434      description
n15243        "BGP path information ";n11435        "Path information";
15244      uses BGP-PATH;11436      uses BGP-PATH;
15245    }11437    }
15246    container attributes-after-policy-in {11438    container attributes-after-policy-in {
15247      description11439      description
15248        "Attributes after inbound policy applied. In the11440        "Attributes after inbound policy applied. In the
15249         case of path type received-only this will be11441         case of path type received-only this will be
15250         attributes before inbound policy";11442         attributes before inbound policy";
15251      uses BGP-ATTR;11443      uses BGP-ATTR;
15252    }11444    }
15253    leaf no-path {11445    leaf no-path {
15254      type boolean;11446      type boolean;
15255      description11447      description
15256        "No path exists. All 'sp_path' fields except11448        "No path exists. All 'sp_path' fields except
15257         'sp_path->bag_prefix' are invalid";11449         'sp_path->bag_prefix' are invalid";
15258    }11450    }
15259    leaf af-name {11451    leaf af-name {
15260      type Bgp-afi;11452      type Bgp-afi;
15261      description11453      description
15262        "Address family identifier";11454        "Address family identifier";
15263    }11455    }
15264    leaf process-instance-id {11456    leaf process-instance-id {
15265      type uint8;11457      type uint8;
15266      description11458      description
n15267        "BGP Process instance ID";n11459        "Process instance ID";
15268    }11460    }
15269    leaf label-oor {11461    leaf label-oor {
15270      type boolean;11462      type boolean;
15271      description11463      description
15272        "LSD label space is exhausted";11464        "LSD label space is exhausted";
15273    }11465    }
15274    leaf label-oor-version {11466    leaf label-oor-version {
n15275      type uint64;n11467      type uint32;
15276      description11468      description
15277        "Label Version when OOR happens";11469        "Label Version when OOR happens";
15278    }11470    }
15279    leaf label-fail {11471    leaf label-fail {
15280      type boolean;11472      type boolean;
15281      description11473      description
15282        "LSD label allocation failed ";11474        "LSD label allocation failed ";
15283    }11475    }
15284    leaf route-distinguisher {11476    leaf route-distinguisher {
15285      type xr:Route-dist;11477      type xr:Route-dist;
15286      description11478      description
n15287        "BGP path Route Distinguisher";n11479        "Route Distinguisher";
15288    }11480    }
15289    leaf source-route-distinguisher {11481    leaf source-route-distinguisher {
15290      type xr:Route-dist;11482      type xr:Route-dist;
15291      description11483      description
n15292        "BGP path Source Route Distinguisher";n11484        "Source Route Distinguisher";
15293    }11485    }
15294    leaf original-source-route-distinguisher {11486    leaf original-source-route-distinguisher {
15295      type xr:Route-dist;11487      type xr:Route-dist;
15296      description11488      description
n15297        "BGP path Original Source Route Distinguisher";n11489        "Original Source Route Distinguisher";
15298    }11490    }
15299    leaf prefix-version {11491    leaf prefix-version {
n15300      type uint64;n11492      type uint32;
15301      description11493      description
15302        "Version of BGP Prefix Table";11494        "Version of BGP Prefix Table";
15303    }11495    }
15304    leaf vrf-name {11496    leaf vrf-name {
15305      type string;11497      type string;
15306      description11498      description
15307        "Name of the VRF";11499        "Name of the VRF";
15308    }11500    }
15309    leaf source-vrf-name {11501    leaf source-vrf-name {
15310      type string;11502      type string;
15311      description11503      description
15312        "Name of the source VRF";11504        "Name of the source VRF";
15313    }11505    }
15314    leaf srcaf-name {11506    leaf srcaf-name {
15315      type Bgp-afi;11507      type Bgp-afi;
15316      description11508      description
15317        "Address family identifier";11509        "Address family identifier";
n15318    }n
15319    leaf sid-oor {
15320      type boolean;
15321      description
15322        "SID out-of-resource state ";
15323    }
15324    leaf sid-oor-version {
15325      type uint64;
15326      description
15327        "Sid Version when OOR happens";
15328    }
15329    leaf sid-fail {
15330      type boolean;
15331      description
15332        "SRv6 sid allocation failed ";
15333    }
15334    leaf attribute-index {
15335      type uint64;
15336      description
15337        "Attribute index";
15338    }
15339  }
15340 
15341  grouping BGP-NBR-PATH-INFO {
15342    description
15343      "Neighbor Path Info";
15344    leaf nbr-name {
15345      type string;
15346      description
15347        "Neighbor Name";
15348    }
15349    leaf numof-paths {
15350      type uint32;
15351      description
15352        "Number of paths";
15353    }
15354  }
15355 
15356  grouping BGP-ALL-NBR-PATH-INFO {
15357    description
15358      "List of BGP Neighbor and Paths Info";
15359    container processing-time {
15360      description
15361        "Time at which statistics were collected";
15362      uses BGP-TIMESPEC;
15363    }
15364    leaf num-of-nbrs {
15365      type uint32;
15366      description
15367        "Number of neighbors from which prefixes were
15368         received in the last time frame";
15369    }
15370    leaf num-of-paths {
15371      type uint32;
15372      description
15373        "Number of paths received in last time frame";
15374    }
15375    list nbr-path {
15376      description
15377        "List of neighbors with the highest number of
15378         paths";
15379      uses BGP-NBR-PATH-INFO;
15380    }
15381  }
15382 
15383  grouping BGP-ECMP-PREFIX-TUPLE {
15384    description
15385      "BGP ECMP and prefix tuple";
15386    leaf numof-ecmp {
15387      type uint32;
15388      description
15389        "Number of ECMP paths";
15390    }
15391    leaf prefixes-processed {
15392      type uint32;
15393      description
15394        "Number of prefixes processed for given ecmp
15395         paths";
15396    }
15397  }
15398 
15399  grouping BGP-ECMP-PATH-INFO {
15400    description
15401      "BGP Prefix Stats";
15402    container processing-time {
15403      description
15404        "Time when prefixes were processed";
15405      uses BGP-TIMESPEC;
15406    }
15407    list ecmp-prefix {
15408      description
15409        "List of number of prefixes processed for each
15410         set of ecmp paths";
15411      uses BGP-ECMP-PREFIX-TUPLE;
15412    }
15413  }
15414 
15415  grouping PLATFORM-OOR-STATE {
15416    description
15417      "PLATFORM OOR STATE";
15418    container time-of-oor-state-change {
15419      description
15420        "Timestamp when state first encountered";
15421      uses BGP-TIMESPEC;
15422    }
15423    leaf oor-state {
15424      type uint32;
15425      description
15426        "OOR State color";
15427    }
15428  }
15429 
15430  grouping BGP-DELAYED-BP-QUEUE {
15431    description
15432      "BGP DELAYED BP QUEUE";
15433    container expiry-time {
15434      description
15435        "Delayed best path queue expiry time";
15436      uses BGP-TIMESPEC;
15437    }
15438    leaf queue-size {
15439      type uint32;
15440      description
15441        "Number of nets in the delayed BP queue";
15442    }11510    }
15443  }11511  }
1544411512
15445  grouping BGP-PERF-PROCESS-AF-VRF {11513  grouping BGP-PERF-PROCESS-AF-VRF {
15446    description11514    description
15447      "BGP PERF PROCESS AF VRF";11515      "BGP PERF PROCESS AF VRF";
15448    container time-rib-coverged {11516    container time-rib-coverged {
15449      description11517      description
15450        "Time last RIB ack was sent ";11518        "Time last RIB ack was sent ";
15451      uses BGP-TIMESPEC;11519      uses BGP-TIMESPEC;
15452    }11520    }
15453    container time-rib-down {11521    container time-rib-down {
15454      description11522      description
15455        "Time last RIB down wassent. This field is11523        "Time last RIB down wassent. This field is
15456         deprecated";11524         deprecated";
15457      uses BGP-TIMESPEC;11525      uses BGP-TIMESPEC;
15458    }11526    }
15459    container first-rib-table-full-timestamp {11527    container first-rib-table-full-timestamp {
15460      description11528      description
15461        "Timestamp when RIB table was full for the first11529        "Timestamp when RIB table was full for the first
15462         time";11530         time";
15463      uses BGP-TIMESPEC;11531      uses BGP-TIMESPEC;
15464    }11532    }
15465    container last-rib-table-full-timestamp {11533    container last-rib-table-full-timestamp {
15466      description11534      description
15467        "Timestamp when RIB table was full for the last11535        "Timestamp when RIB table was full for the last
15468         time";11536         time";
15469      uses BGP-TIMESPEC;11537      uses BGP-TIMESPEC;
15470    }11538    }
15471    container first-rib-table-has-space-timestamp {11539    container first-rib-table-has-space-timestamp {
15472      description11540      description
15473        "Timestamp when RIB table had space for the first11541        "Timestamp when RIB table had space for the first
15474         time";11542         time";
15475      uses BGP-TIMESPEC;11543      uses BGP-TIMESPEC;
15476    }11544    }
15477    container last-rib-table-has-space-timestamp {11545    container last-rib-table-has-space-timestamp {
15478      description11546      description
15479        "Timestamp when RIB table had space for the last11547        "Timestamp when RIB table had space for the last
15480         time";11548         time";
15481      uses BGP-TIMESPEC;11549      uses BGP-TIMESPEC;
15482    }11550    }
15483    container time-label-retain {11551    container time-label-retain {
15484      description11552      description
15485        "Time last label retentiontriggered ";11553        "Time last label retentiontriggered ";
15486      uses BGP-TIMESPEC;11554      uses BGP-TIMESPEC;
15487    }11555    }
n15488    container last-bpq-delayed {n
15489      description
15490        "Time when last BP queue was delayed";
15491      uses BGP-TIMESPEC;
15492    }
15493    container last-processed-bpq-delayed {
15494      description
15495        "Time when last delayed BP queue was processed";
15496      uses BGP-TIMESPEC;
15497    }
15498    container last-oor-recovery {
15499      description
15500        "Time at which last time BGP recovered from OOR";
15501      uses BGP-TIMESPEC;
15502    }
15503    leaf update-generation-calls {11556    leaf update-generation-calls {
15504      type uint32;11557      type uint32;
15505      description11558      description
15506        "No. of calls to update generation function";11559        "No. of calls to update generation function";
15507    }11560    }
15508    leaf update-generation-prefixes-count {11561    leaf update-generation-prefixes-count {
15509      type uint32;11562      type uint32;
15510      description11563      description
15511        "No. of prefixes updates generated for";11564        "No. of prefixes updates generated for";
15512    }11565    }
15513    leaf update-generation-be-prefixes-count {11566    leaf update-generation-be-prefixes-count {
15514      type uint32;11567      type uint32;
15515      description11568      description
15516        "No. of be prefixes updates generated for";11569        "No. of be prefixes updates generated for";
15517    }11570    }
15518    leaf update-generation-messages-count {11571    leaf update-generation-messages-count {
15519      type uint32;11572      type uint32;
15520      description11573      description
15521        "No. of update messages generated";11574        "No. of update messages generated";
15522    }11575    }
15523    leaf update-generation-time {11576    leaf update-generation-time {
15524      type uint32;11577      type uint32;
15525      units "millisecond";11578      units "millisecond";
15526      description11579      description
15527        "Time spent generating updates (milliseconds)";11580        "Time spent generating updates (milliseconds)";
15528    }11581    }
15529    leaf rib-update-calls {11582    leaf rib-update-calls {
15530      type uint32;11583      type uint32;
15531      description11584      description
15532        "No. of calls to RIB update function";11585        "No. of calls to RIB update function";
15533    }11586    }
15534    leaf rib-update-time {11587    leaf rib-update-time {
15535      type uint32;11588      type uint32;
15536      units "millisecond";11589      units "millisecond";
15537      description11590      description
15538        "Time spent sending RIB updates (milliseconds)";11591        "Time spent sending RIB updates (milliseconds)";
15539    }11592    }
15540    leaf prefixes-sent-to-rib {11593    leaf prefixes-sent-to-rib {
15541      type uint32;11594      type uint32;
15542      description11595      description
15543        "No. of prefixes sent to RIB";11596        "No. of prefixes sent to RIB";
15544    }11597    }
15545    leaf prefixes-resent-to-rib {11598    leaf prefixes-resent-to-rib {
15546      type uint32;11599      type uint32;
15547      description11600      description
15548        "No. of prefixes re-sent to RIB";11601        "No. of prefixes re-sent to RIB";
15549    }11602    }
15550    leaf prefixes-not-sent-to-rib {11603    leaf prefixes-not-sent-to-rib {
15551      type uint32;11604      type uint32;
15552      description11605      description
15553        "No. of prefixes not sent to RIB due to11606        "No. of prefixes not sent to RIB due to
15554         unsupported label stack size";11607         unsupported label stack size";
15555    }11608    }
15556    leaf prefixes-removed-from-rib {11609    leaf prefixes-removed-from-rib {
15557      type uint32;11610      type uint32;
15558      description11611      description
15559        "No. of prefixes withdrawn from RIB";11612        "No. of prefixes withdrawn from RIB";
15560    }11613    }
15561    leaf attributes-sent-to-rib {11614    leaf attributes-sent-to-rib {
15562      type uint32;11615      type uint32;
15563      description11616      description
15564        "No. of attributes sent to RIB";11617        "No. of attributes sent to RIB";
15565    }11618    }
15566    leaf attributes-removed-from-rib {11619    leaf attributes-removed-from-rib {
15567      type uint32;11620      type uint32;
15568      description11621      description
15569        "No. of attributes withdrawn from RIB";11622        "No. of attributes withdrawn from RIB";
15570    }11623    }
15571    leaf attributes-recover-from-rib {11624    leaf attributes-recover-from-rib {
15572      type uint32;11625      type uint32;
15573      description11626      description
15574        "No. of attributes recovered from RIB";11627        "No. of attributes recovered from RIB";
15575    }11628    }
15576    leaf scanner-runs {11629    leaf scanner-runs {
15577      type uint32;11630      type uint32;
15578      description11631      description
15579        "# of times scanner has run";11632        "# of times scanner has run";
15580    }11633    }
15581    leaf scanner-time {11634    leaf scanner-time {
15582      type uint32;11635      type uint32;
15583      units "millisecond";11636      units "millisecond";
15584      description11637      description
15585        "Time spent running scanner (milliseconds)";11638        "Time spent running scanner (milliseconds)";
15586    }11639    }
15587    leaf rib-tbl-del-calls {11640    leaf rib-tbl-del-calls {
15588      type uint32;11641      type uint32;
15589      description11642      description
15590        "No. of rib update skipped on account of table11643        "No. of rib update skipped on account of table
15591         delete";11644         delete";
15592    }11645    }
15593    leaf rib-tbl-invalid-calls {11646    leaf rib-tbl-invalid-calls {
15594      type uint32;11647      type uint32;
15595      description11648      description
15596        "No. of  rib update skipped due to table invalid";11649        "No. of  rib update skipped due to table invalid";
15597    }11650    }
15598    leaf rib-tbl-skip-calls {11651    leaf rib-tbl-skip-calls {
15599      type uint32;11652      type uint32;
15600      description11653      description
15601        "No. of rib update skipped";11654        "No. of rib update skipped";
15602    }11655    }
15603    leaf rib-tbl-local-label {11656    leaf rib-tbl-local-label {
15604      type uint32;11657      type uint32;
15605      description11658      description
15606        "No. of rib update skipped. due to no local label";11659        "No. of rib update skipped. due to no local label";
15607    }11660    }
15608    leaf rib-tbl-retry {11661    leaf rib-tbl-retry {
15609      type uint32;11662      type uint32;
15610      description11663      description
15611        "No. of table rib retires.";11664        "No. of table rib retires.";
15612    }11665    }
15613    leaf time-last-update-sent {11666    leaf time-last-update-sent {
15614      type uint32;11667      type uint32;
15615      units "second";11668      units "second";
15616      description11669      description
15617        "Time last update was sent (seconds since Jan 111670        "Time last update was sent (seconds since Jan 1
15618         1970)";11671         1970)";
15619    }11672    }
15620    leaf is-rib-table-full {11673    leaf is-rib-table-full {
15621      type boolean;11674      type boolean;
15622      description11675      description
15623        "Indicates if RIB table is in prefix-limit state";11676        "Indicates if RIB table is in prefix-limit state";
15624    }11677    }
15625    leaf rib-table-full-version {11678    leaf rib-table-full-version {
n15626      type uint64;n11679      type uint32;
15627      description11680      description
15628        "Version when RIB table became full (from11681        "Version when RIB table became full (from
15629         non-full)";11682         non-full)";
15630    }11683    }
15631    leaf first-rib-table-full-version {11684    leaf first-rib-table-full-version {
n15632      type uint64;n11685      type uint32;
15633      description11686      description
15634        "Version when RIB table was full for the first11687        "Version when RIB table was full for the first
15635         time";11688         time";
15636    }11689    }
15637    leaf last-rib-table-full-version {11690    leaf last-rib-table-full-version {
n15638      type uint64;n11691      type uint32;
15639      description11692      description
15640        "Version when RIB table was full for the last11693        "Version when RIB table was full for the last
15641         time";11694         time";
15642    }11695    }
15643    leaf last-rib-table-full-age {11696    leaf last-rib-table-full-age {
15644      type uint32;11697      type uint32;
15645      units "second";11698      units "second";
15646      description11699      description
15647        "Time since RIB table was full for the last time11700        "Time since RIB table was full for the last time
15648         (in seconds)";11701         (in seconds)";
15649    }11702    }
15650    leaf first-rib-table-has-space-version {11703    leaf first-rib-table-has-space-version {
n15651      type uint64;n11704      type uint32;
15652      description11705      description
15653        "Version when RIB table had space for the first11706        "Version when RIB table had space for the first
15654         time";11707         time";
15655    }11708    }
15656    leaf last-rib-table-has-space-version {11709    leaf last-rib-table-has-space-version {
n15657      type uint64;n11710      type uint32;
15658      description11711      description
15659        "Version when RIB table had space for the last11712        "Version when RIB table had space for the last
15660         time";11713         time";
15661    }11714    }
15662    leaf last-rib-table-has-space-age {11715    leaf last-rib-table-has-space-age {
15663      type uint32;11716      type uint32;
15664      units "second";11717      units "second";
15665      description11718      description
15666        "Times since RIB table had space for the last11719        "Times since RIB table had space for the last
15667         time (in seconds)";11720         time (in seconds)";
15668    }11721    }
15669    leaf rib-trigger {11722    leaf rib-trigger {
15670      type boolean;11723      type boolean;
15671      description11724      description
15672        "Rib trigger enabled";11725        "Rib trigger enabled";
15673    }11726    }
15674    leaf vrf-flags {11727    leaf vrf-flags {
15675      type uint32;11728      type uint32;
15676      description11729      description
15677        "VRF flags for debug display";11730        "VRF flags for debug display";
15678    }11731    }
15679    leaf label-calls {11732    leaf label-calls {
15680      type uint32;11733      type uint32;
15681      description11734      description
15682        "No. of calls to label allocation processing11735        "No. of calls to label allocation processing
15683         function";11736         function";
15684    }11737    }
15685    leaf label-time {11738    leaf label-time {
15686      type uint32;11739      type uint32;
15687      units "millisecond";11740      units "millisecond";
15688      description11741      description
15689        "Time spent running label processing11742        "Time spent running label processing
15690         (milliseconds)";11743         (milliseconds)";
15691    }11744    }
15692    leaf label-rewrite-count {11745    leaf label-rewrite-count {
15693      type uint32;11746      type uint32;
15694      description11747      description
15695        "Number of label rewrites created";11748        "Number of label rewrites created";
15696    }11749    }
15697    leaf label-release-count {11750    leaf label-release-count {
15698      type uint32;11751      type uint32;
15699      description11752      description
15700        "Number of labels released";11753        "Number of labels released";
15701    }11754    }
15702    leaf label-added-count {11755    leaf label-added-count {
15703      type uint32;11756      type uint32;
15704      description11757      description
15705        "Number of labels requested";11758        "Number of labels requested";
15706    }11759    }
15707    leaf import-calls {11760    leaf import-calls {
15708      type uint32;11761      type uint32;
15709      description11762      description
15710        "Number of calls to import processing function";11763        "Number of calls to import processing function";
15711    }11764    }
15712    leaf import-time {11765    leaf import-time {
15713      type uint32;11766      type uint32;
15714      units "millisecond";11767      units "millisecond";
15715      description11768      description
15716        "Time spent in import processing (milliseconds)11769        "Time spent in import processing (milliseconds)
15717         Note time accounted against source nets.";11770         Note time accounted against source nets.";
15718    }11771    }
15719    leaf import-src-net-processed-count {11772    leaf import-src-net-processed-count {
15720      type uint32;11773      type uint32;
15721      description11774      description
15722        "Number of source nets processed";11775        "Number of source nets processed";
15723    }11776    }
15724    leaf import-dest-net-processed-count {11777    leaf import-dest-net-processed-count {
15725      type uint32;11778      type uint32;
15726      description11779      description
15727        "Number of destination nets processed";11780        "Number of destination nets processed";
15728    }11781    }
15729    leaf import-added-path-count {11782    leaf import-added-path-count {
15730      type uint32;11783      type uint32;
15731      description11784      description
15732        "Number of imported paths added";11785        "Number of imported paths added";
15733    }11786    }
15734    leaf import-removed-path-count {11787    leaf import-removed-path-count {
15735      type uint32;11788      type uint32;
15736      description11789      description
15737        "Number of imported paths removed";11790        "Number of imported paths removed";
15738    }11791    }
15739    leaf import-replaced-path-count {11792    leaf import-replaced-path-count {
15740      type uint32;11793      type uint32;
15741      description11794      description
15742        "Number of imported paths ";11795        "Number of imported paths ";
15743    }11796    }
15744    leaf update-group-count {11797    leaf update-group-count {
15745      type uint32;11798      type uint32;
15746      description11799      description
15747        "No. of update group";11800        "No. of update group";
15748    }11801    }
15749    leaf subgroup-count {11802    leaf subgroup-count {
15750      type uint32;11803      type uint32;
15751      description11804      description
15752        "No. of update subgroup";11805        "No. of update subgroup";
15753    }11806    }
n15754    leaf oldest-queue-number {n
15755      type uint32;
15756      description
15757        "Earliest queue number to be processed for
15758         delayed BP";
15759    }
15760    leaf recent-queue-number {
15761      type uint32;
15762      description
15763        "Most recent queue number for delayed BP";
15764    }
15765    leaf prefix-count-hwm {
15766      type uint32;
15767      description
15768        "Delayed BP Prefix High water mark";
15769    }
15770    leaf net-delayed-count {
15771      type uint32;
15772      description
15773        "Number of times nets delayed";
15774    }
15775    leaf path-delayed-count {
15776      type uint32;
15777      description
15778        "Number of paths delayed";
15779    }
15780    leaf net-processed-count {
15781      type uint32;
15782      description
15783        "Number of nets dequeued and processed";
15784    }
15785    list delayed-bp-queue {
15786      description
15787        "List of queues used for delayed BP";
15788      uses BGP-DELAYED-BP-QUEUE;
15789    }
15790    list oor-state {
15791      description
15792        "Upto Last 5 OOR state change info";
15793      uses PLATFORM-OOR-STATE;
15794    }
15795    list ribecmp-path-download-info {
15796      description
15797        "List of ecmp paths downloaded to RIB";
15798      uses BGP-ECMP-PATH-INFO;
15799    }
15800    list delay-queue-ecmp-path-info {
15801      description
15802        "List of ecmp paths processed in delay queue";
15803      uses BGP-ECMP-PATH-INFO;
15804    }
15805    list nbr-path-stat {
15806      description
15807        "List of neighbor vs paths info";
15808      uses BGP-ALL-NBR-PATH-INFO;
15809    }
15810  }
15811 
15812  grouping BGP-INT-BUMPCOUNT {
15813    description
15814      "BGP INT BUMPCOUNT";
15815    leaf bump-count-event {
15816      type Bgp-vr-bumpcount-event;
15817      description
15818        "Event contributing to version bumps";
15819    }
15820    leaf version-bump-count {
15821      type uint32;
15822      description
15823        "Rolling average of version bumps in this stat
15824         collection interval";
15825    }
15826  }
15827 
15828  grouping BGP-VER-RATE {
15829    description
15830      "BGP VER RATE";
15831    container version-bump-count-interval-start {
15832      description
15833        "Start time of the stat collection interval";
15834      uses BGP-TIMESPEC;
15835    }
15836    container version-bump-count-interval-end {
15837      description
15838        "End time of the stat collection interval";
15839      uses BGP-TIMESPEC;
15840    }
15841    leaf interval-info {
15842      type Bgp-vr-int;
15843      description
15844        "Stat collection interval identifier";
15845    }
15846    leaf main-table-version-bump-count {
15847      type uint32;
15848      description
15849        "Rolling average of main table version bumps in
15850         this stat collection interval";
15851    }
15852    list version-bump-count-interval {
15853      description
15854        "Version bumps per event in the stat collection
15855         interval";
15856      uses BGP-INT-BUMPCOUNT;
15857    }
15858  }
15859 
15860  grouping BGP-TOTAL-BUMPS {
15861    description
15862      "BGP TOTAL BUMPS";
15863    leaf bump-event-count {
15864      type Bgp-vr-bumpcount-event;
15865      description
15866        "Event contributing to version bumps";
15867    }
15868    leaf version-bumps-count {
15869      type uint64;
15870      description
15871        "Total number of version bumps";
15872    }
15873  }11807  }
1587411808
15875  grouping BGP-PERF-PROCESS-AF-GBL {11809  grouping BGP-PERF-PROCESS-AF-GBL {
15876    description11810    description
15877      "BGP PERF PROCESS AF GBL";11811      "BGP PERF PROCESS AF GBL";
15878    leaf has-converged {11812    leaf has-converged {
15879      type boolean;11813      type boolean;
15880      description11814      description
15881        "TRUE if process has converged";11815        "TRUE if process has converged";
15882    }11816    }
15883    leaf first-nbr-up-time {11817    leaf first-nbr-up-time {
15884      type uint32;11818      type uint32;
15885      units "second";11819      units "second";
15886      description11820      description
15887        "Time when first peer came up (seconds since Jan11821        "Time when first peer came up (seconds since Jan
15888         1 1970)";11822         1 1970)";
15889    }11823    }
15890    leaf total-pim-install {11824    leaf total-pim-install {
15891      type uint32;11825      type uint32;
15892      description11826      description
15893        "Total number of install to PIM";11827        "Total number of install to PIM";
15894    }11828    }
15895    leaf total-pim-callbacks {11829    leaf total-pim-callbacks {
15896      type uint32;11830      type uint32;
15897      description11831      description
15898        "Total number of PIM callbacks";11832        "Total number of PIM callbacks";
15899    }11833    }
15900    leaf total-pim-callback-batch {11834    leaf total-pim-callback-batch {
15901      type uint32;11835      type uint32;
15902      description11836      description
15903        "Total number of Pim callback batches";11837        "Total number of Pim callback batches";
n15904    }n
15905    leaf update-main-table-version {
15906      type uint64;
15907      description
15908        "Main table version";
15909    }11838    }
15910    list mode-enter-time {11839    list mode-enter-time {
15911      max-elements "7";11840      max-elements "7";
15912      description11841      description
15913        "Time that each mode was entered (seconds since11842        "Time that each mode was entered (seconds since
15914         11843         
15915         Jan 1 1970)";11844         Jan 1 1970)";
15916      leaf entry {11845      leaf entry {
15917        type uint32;11846        type uint32;
15918        units "second";11847        units "second";
15919        description11848        description
15920          "Time that each mode was entered (seconds since11849          "Time that each mode was entered (seconds since
15921           11850           
15922           Jan 1 1970)";11851           Jan 1 1970)";
15923      }11852      }
15924    }11853    }
15925    list total-pim-install-add {11854    list total-pim-install-add {
15926      max-elements "7";11855      max-elements "7";
15927      description11856      description
15928        "Total number of install to PIM for add";11857        "Total number of install to PIM for add";
15929      leaf entry {11858      leaf entry {
15930        type uint32;11859        type uint32;
15931        description11860        description
15932          "Total number of install to PIM for add";11861          "Total number of install to PIM for add";
15933      }11862      }
15934    }11863    }
15935    list total-pim-install-del {11864    list total-pim-install-del {
15936      max-elements "7";11865      max-elements "7";
15937      description11866      description
15938        "Total number of install to PIM for del";11867        "Total number of install to PIM for del";
15939      leaf entry {11868      leaf entry {
15940        type uint32;11869        type uint32;
15941        description11870        description
15942          "Total number of install to PIM for del";11871          "Total number of install to PIM for del";
15943      }11872      }
15944    }11873    }
15945    list total-pim-callback-add {11874    list total-pim-callback-add {
15946      max-elements "7";11875      max-elements "7";
15947      description11876      description
15948        "Total number of Pim callbacks for add";11877        "Total number of Pim callbacks for add";
15949      leaf entry {11878      leaf entry {
15950        type uint32;11879        type uint32;
15951        description11880        description
15952          "Total number of Pim callbacks for add";11881          "Total number of Pim callbacks for add";
15953      }11882      }
15954    }11883    }
15955    list total-pim-callback-del {11884    list total-pim-callback-del {
15956      max-elements "7";11885      max-elements "7";
15957      description11886      description
15958        "Total number of Pim callbacks for del";11887        "Total number of Pim callbacks for del";
15959      leaf entry {11888      leaf entry {
15960        type uint32;11889        type uint32;
15961        description11890        description
15962          "Total number of Pim callbacks for del";11891          "Total number of Pim callbacks for del";
15963      }11892      }
15964    }11893    }
15965    list total-pim-callback-add-local {11894    list total-pim-callback-add-local {
15966      max-elements "7";11895      max-elements "7";
15967      description11896      description
15968        "Total number of Pim callbacks for local add";11897        "Total number of Pim callbacks for local add";
15969      leaf entry {11898      leaf entry {
15970        type uint32;11899        type uint32;
15971        description11900        description
15972          "Total number of Pim callbacks for local add";11901          "Total number of Pim callbacks for local add";
15973      }11902      }
15974    }11903    }
15975    list total-pim-callback-del-local {11904    list total-pim-callback-del-local {
15976      max-elements "7";11905      max-elements "7";
15977      description11906      description
15978        "Total number of Pim callbacks for Local del";11907        "Total number of Pim callbacks for Local del";
15979      leaf entry {11908      leaf entry {
15980        type uint32;11909        type uint32;
15981        description11910        description
15982          "Total number of Pim callbacks for Local del";11911          "Total number of Pim callbacks for Local del";
15983      }11912      }
15984    }11913    }
n15985    list total-version-bump-count {n
15986      description
15987        "Total version bumps per event";
15988      uses BGP-TOTAL-BUMPS;
15989    }
15990    list version-rate-stat {
15991      max-elements "4";
15992      description
15993        "Version bump stats per event per interval";
15994      uses BGP-VER-RATE;
15995    }
15996  }11914  }
1599711915
15998  grouping BGP-PERF-PROCESS-AF {11916  grouping BGP-PERF-PROCESS-AF {
15999    description11917    description
16000      "BGP PERF PROCESS AF";11918      "BGP PERF PROCESS AF";
16001    container global {11919    container global {
16002      description11920      description
16003        "Global information";11921        "Global information";
16004      uses BGP-PERF-PROCESS-AF-GBL;11922      uses BGP-PERF-PROCESS-AF-GBL;
16005    }11923    }
16006    container vrf {11924    container vrf {
16007      description11925      description
16008        "VRF information";11926        "VRF information";
16009      uses BGP-PERF-PROCESS-AF-VRF;11927      uses BGP-PERF-PROCESS-AF-VRF;
16010    }11928    }
16011  }11929  }
1601211930
16013  grouping BGP-PROCESS-INFO-AF-VRF {11931  grouping BGP-PROCESS-INFO-AF-VRF {
16014    description11932    description
16015      "BGP PROCESS INFO AF VRF";11933      "BGP PROCESS INFO AF VRF";
16016    leaf network-entry-count {11934    leaf network-entry-count {
16017      type uint32;11935      type uint32;
16018      description11936      description
16019        "Number of network entries";11937        "Number of network entries";
16020    }11938    }
16021    leaf paths-count {11939    leaf paths-count {
16022      type uint32;11940      type uint32;
16023      description11941      description
16024        "Number of paths";11942        "Number of paths";
16025    }11943    }
16026    leaf imported-paths {11944    leaf imported-paths {
16027      type uint32;11945      type uint32;
16028      description11946      description
16029        "Number of imported paths";11947        "Number of imported paths";
16030    }11948    }
16031    leaf local-paths {11949    leaf local-paths {
16032      type uint32;11950      type uint32;
16033      description11951      description
16034        "Number of local paths";11952        "Number of local paths";
16035    }11953    }
16036    leaf path-elems-count {11954    leaf path-elems-count {
16037      type uint32;11955      type uint32;
16038      description11956      description
16039        "Number of path elems";11957        "Number of path elems";
16040    }11958    }
16041    leaf path-memory {11959    leaf path-memory {
n16042      type uint64;n11960      type uint32;
16043      units "byte";11961      units "byte";
16044      description11962      description
n16045        "Memory (in bytes) used by path datan11963        "Memory (in bytes) used by path data";
16046         (Approximate)";
16047    }11964    }
16048    leaf imported-path-memory {11965    leaf imported-path-memory {
n16049      type uint64;n11966      type uint32;
16050      units "byte";11967      units "byte";
16051      description11968      description
n16052        "Memory (in bytes) used by imported pathsn11969        "Memory (in bytes) used by imported paths";
16053         (Approximate)";
16054    }11970    }
16055    leaf local-path-memory {11971    leaf local-path-memory {
n16056      type uint64;n11972      type uint32;
16057      units "byte";11973      units "byte";
16058      description11974      description
n16059        "Memory (in bytes) used by local pathsn11975        "Memory (in bytes) used by local paths";
16060         (Approximate)";
16061    }11976    }
16062    leaf prefix-memory {11977    leaf prefix-memory {
n16063      type uint64;n11978      type uint32;
16064      units "byte";11979      units "byte";
16065      description11980      description
n16066        "Memory (in bytes) used by prefix datan11981        "Memory (in bytes) used by prefix data";
16067         (Approximate)";
16068    }11982    }
16069    leaf path-elem-memory {11983    leaf path-elem-memory {
n16070      type uint64;n11984      type uint32;
16071      units "byte";11985      units "byte";
16072      description11986      description
n16073        "Memory (in bytes) used by pathelem datan11987        "Memory (in bytes) used by pathelem data";
16074         (Approximate)";
16075    }11988    }
16076    leaf received-path-count {11989    leaf received-path-count {
16077      type uint32;11990      type uint32;
16078      description11991      description
16079        "Number of (unused) received paths for inbound11992        "Number of (unused) received paths for inbound
16080         soft reconfiguration";11993         soft reconfiguration";
16081    }11994    }
16082    leaf history-path-count {11995    leaf history-path-count {
16083      type uint32;11996      type uint32;
16084      description11997      description
16085        "Number of history paths (for dampening)";11998        "Number of history paths (for dampening)";
16086    }11999    }
16087    leaf damped-path-count {12000    leaf damped-path-count {
16088      type uint32;12001      type uint32;
16089      description12002      description
16090        "Number of dampened paths";12003        "Number of dampened paths";
16091    }12004    }
16092    leaf malloced-prefix-count {12005    leaf malloced-prefix-count {
16093      type uint32;12006      type uint32;
16094      description12007      description
16095        "Activity: Number of prefixes malloced";12008        "Activity: Number of prefixes malloced";
16096    }12009    }
16097    leaf freed-prefix-count {12010    leaf freed-prefix-count {
16098      type uint32;12011      type uint32;
16099      description12012      description
16100        "Activity: Number of prefixes freed";12013        "Activity: Number of prefixes freed";
16101    }12014    }
16102    leaf malloced-path-count {12015    leaf malloced-path-count {
16103      type uint32;12016      type uint32;
16104      description12017      description
16105        "Activity: Number of paths malloced";12018        "Activity: Number of paths malloced";
16106    }12019    }
16107    leaf freed-path-count {12020    leaf freed-path-count {
16108      type uint32;12021      type uint32;
16109      description12022      description
16110        "Activity: Number of paths freed";12023        "Activity: Number of paths freed";
16111    }12024    }
16112    leaf malloced-path-elem-count {12025    leaf malloced-path-elem-count {
16113      type uint32;12026      type uint32;
16114      description12027      description
16115        "Activity: Number of path elems malloced";12028        "Activity: Number of path elems malloced";
16116    }12029    }
16117    leaf freed-path-elem-count {12030    leaf freed-path-elem-count {
16118      type uint32;12031      type uint32;
16119      description12032      description
16120        "Activity: Number of pathelems freed";12033        "Activity: Number of pathelems freed";
16121    }12034    }
16122    leaf any-ebgp-neighbor-missing-policy {12035    leaf any-ebgp-neighbor-missing-policy {
16123      type boolean;12036      type boolean;
16124      description12037      description
16125        "Is there any neighbor which is missing either12038        "Is there any neighbor which is missing either
16126         inbound or outbound or both routing policy for12039         inbound or outbound or both routing policy for
16127         this address family?";12040         this address family?";
16128    }12041    }
16129    leaf attribute-download {12042    leaf attribute-download {
16130      type boolean;12043      type boolean;
16131      description12044      description
n16132        "BGP virtual routing and forwarding attributen
16133         download ";12045        "Attribute download is ";
16134    }12046    }
16135    leaf route-target-download {12047    leaf route-target-download {
16136      type boolean;12048      type boolean;
16137      description12049      description
16138        "Route Target download is enabled";12050        "Route Target download is enabled";
16139    }12051    }
16140    leaf srms-prefix-sid {12052    leaf srms-prefix-sid {
16141      type boolean;12053      type boolean;
16142      description12054      description
16143        "SRMS Prefix SID is ";12055        "SRMS Prefix SID is ";
16144    }12056    }
16145    leaf add-path-install-enable {12057    leaf add-path-install-enable {
16146      type boolean;12058      type boolean;
16147      description12059      description
16148        "Additional paths installation is enabled";12060        "Additional paths installation is enabled";
16149    }12061    }
16150    leaf add-path-install-disable {12062    leaf add-path-install-disable {
16151      type boolean;12063      type boolean;
16152      description12064      description
16153        "Additional paths installation is disabled";12065        "Additional paths installation is disabled";
16154    }12066    }
16155    leaf best-external {12067    leaf best-external {
16156      type boolean;12068      type boolean;
16157      description12069      description
16158        "Best External is enabled";12070        "Best External is enabled";
16159    }12071    }
16160    leaf best-external-disable {12072    leaf best-external-disable {
16161      type boolean;12073      type boolean;
16162      description12074      description
16163        "Best External is enabled";12075        "Best External is enabled";
n16164    }n
16165    leaf best-external-labeled-unicast {
16166      type boolean;
16167      description
16168        "Best External is limited toLabeled-Unicast";
16169    }12076    }
16170    leaf label-retain {12077    leaf label-retain {
16171      type boolean;12078      type boolean;
16172      description12079      description
16173        "Label retention is enabled";12080        "Label retention is enabled";
16174    }12081    }
16175    leaf label-retainvalue {12082    leaf label-retainvalue {
16176      type uint32;12083      type uint32;
16177      description12084      description
16178        "Label retention value enabled";12085        "Label retention value enabled";
16179    }12086    }
16180    leaf tbl-bitf-size {12087    leaf tbl-bitf-size {
16181      type uint16;12088      type uint16;
16182      description12089      description
16183        "Bitfield size on table";12090        "Bitfield size on table";
16184    }12091    }
16185    leaf tbl-chunk-bitf-size {12092    leaf tbl-chunk-bitf-size {
16186      type uint16;12093      type uint16;
16187      description12094      description
16188        "Chunk Bitfield size on table";12095        "Chunk Bitfield size on table";
16189    }12096    }
n16190    leaf tbl-filter-group-bitf-resize-pending {n
16191      type boolean;
16192      description
16193        "Filter Group bitfield resize is pending for this
16194         table";
16195    }
16196    leaf is-route-reflector {12097    leaf is-route-reflector {
16197      type boolean;12098      type boolean;
16198      description12099      description
16199        "Router is an RR for this AF";12100        "Router is an RR for this AF";
16200    }12101    }
16201    leaf asbr {12102    leaf asbr {
16202      type boolean;12103      type boolean;
16203      description12104      description
16204        "Router is an ASBR for this AF";12105        "Router is an ASBR for this AF";
16205    }12106    }
16206    leaf retain-rt-all {12107    leaf retain-rt-all {
16207      type boolean;12108      type boolean;
16208      description12109      description
16209        "Retain-RT-All enabled";12110        "Retain-RT-All enabled";
16210    }12111    }
16211    leaf ibgp-nexthop-self-count {12112    leaf ibgp-nexthop-self-count {
16212      type uint32;12113      type uint32;
16213      description12114      description
16214        "Number of iBGP sessions configured with nh-self";12115        "Number of iBGP sessions configured with nh-self";
16215    }12116    }
16216    leaf use-igpsr-label {12117    leaf use-igpsr-label {
16217      type boolean;12118      type boolean;
16218      description12119      description
16219        "Use IGP SR label for resolution";12120        "Use IGP SR label for resolution";
16220    }12121    }
16221    leaf bmp-network-entry-count {12122    leaf bmp-network-entry-count {
16222      type uint32;12123      type uint32;
16223      description12124      description
16224        "Number of BMP net entries";12125        "Number of BMP net entries";
16225    }12126    }
16226    leaf bmp-paths-count {12127    leaf bmp-paths-count {
16227      type uint32;12128      type uint32;
16228      description12129      description
16229        "Total Number of BMP paths";12130        "Total Number of BMP paths";
16230    }12131    }
16231    leaf bmp-prefix-memory {12132    leaf bmp-prefix-memory {
n16232      type uint64;n12133      type uint32;
16233      units "byte";12134      units "byte";
16234      description12135      description
n16235        "Memory (in bytes) used by prefix datan12136        "Memory (in bytes) used by prefix data";
16236         (Approximate)";
16237    }12137    }
16238    leaf bmp-path-memory {12138    leaf bmp-path-memory {
n16239      type uint64;n12139      type uint32;
16240      units "byte";12140      units "byte";
16241      description12141      description
n16242        "Memory (in bytes) used by path datan12142        "Memory (in bytes) used by path data";
16243         (Approximate)";
16244    }
16245    leaf path-lookup-path-count {
16246      type uint32;
16247      description
16248        "Number of paths in path lookup db";
16249    }
16250    leaf path-denied-count {
16251      type uint32;
16252      description
16253        "Total Number of paths denied";
16254    }
16255    leaf path-accepted-count {
16256      type uint32;
16257      description
16258        "Total Number of paths accepted";
16259    }
16260    leaf path-modified-count {
16261      type uint32;
16262      description
16263        "Total Number of paths modified";
16264    }
16265    leaf path-modified-count-hwm {
16266      type uint32;
16267      description
16268        "Total Number of paths modified for the given AFI
16269         High Water Mark";
16270    }
16271    leaf path-modified-memory-hwm {
16272      type uint64;
16273      description
16274        "Total memory allocated for modified paths High
16275         Water Mark (Approximate)";
16276    }
16277    leaf path-modified-count-hwm-time {
16278      type uint64;
16279      description
16280        "Timestamp for High Water Mark of total paths
16281         modified for the given AFI";
16282    }
16283    leaf path-modified-memory {
16284      type uint64;
16285      description
16286        "Total memory allocated for pathmodified paths in
16287         BGP process (Approximate)";
16288    }
16289    leaf policy-has-nexthop-self {
16290      type boolean;
16291      description
16292        "Policy has next-hop self";
16293    }
16294    list net-path-distribution {
16295      description
16296        "Net Paths Distribution";
16297      leaf entry {
16298        type uint32;
16299        description
16300          "Net Paths Distribution";
16301      }
16302    }12143    }
16303  }12144  }
1630412145
16305  grouping BGP-RIB-INSTALL-TIME-INFO {12146  grouping BGP-RIB-INSTALL-TIME-INFO {
16306    description12147    description
16307      "BGP RIB INSTALL TIME INFO";12148      "BGP RIB INSTALL TIME INFO";
16308    container update-time {12149    container update-time {
16309      description12150      description
n16310        "The time taken for routing information basen12151        "RIB update time";
16311         download ";
16312      uses BGP-TIMESPEC;12152      uses BGP-TIMESPEC;
16313    }12153    }
16314    container install-time {12154    container install-time {
16315      description12155      description
n16316        "The time taken for the route installation ";n12156        "RIB install time";
16317      uses BGP-TIMESPEC;12157      uses BGP-TIMESPEC;
16318    }12158    }
16319    leaf installed-count {12159    leaf installed-count {
16320      type uint32;12160      type uint32;
16321      description12161      description
n16322        "Count of installed routes";n12162        "Installed routes";
16323    }12163    }
16324    leaf modified-count {12164    leaf modified-count {
16325      type uint32;12165      type uint32;
16326      description12166      description
n16327        "Count of modified routes";n12167        "Modified routes";
16328    }12168    }
16329    leaf skipped-count {12169    leaf skipped-count {
16330      type uint32;12170      type uint32;
16331      description12171      description
n16332        "Count of skipped routes";n12172        "Skipped routes";
16333    }12173    }
16334    leaf withdrawn-count {12174    leaf withdrawn-count {
16335      type uint32;12175      type uint32;
16336      description12176      description
n16337        "Count of withdrawn routes";n12177        "Withdrawn routes";
16338    }12178    }
16339    leaf start-version {12179    leaf start-version {
n16340      type uint64;n12180      type uint32;
16341      description12181      description
n16342        "Start version of the BGP routing informationn12182        "Start version";
16343         base ";
16344    }12183    }
16345    leaf target-version {12184    leaf target-version {
n16346      type uint64;n12185      type uint32;
16347      description12186      description
n16348        "Target version of BGProuting informationn12187        "Target version";
16349         baseupdate ";
16350    }12188    }
16351  }12189  }
1635212190
16353  grouping BGP-THREAD-TRIGGER-INFO-STAT {12191  grouping BGP-THREAD-TRIGGER-INFO-STAT {
16354    description12192    description
16355      "BGP THREAD TRIGGER INFO STAT";12193      "BGP THREAD TRIGGER INFO STAT";
16356    container trigger-time-spec {12194    container trigger-time-spec {
16357      description12195      description
n16358        "Timestamp when the thread was triggered ";n12196        "trigger time spec";
16359      uses BGP-TIMESPEC;12197      uses BGP-TIMESPEC;
16360    }12198    }
16361    leaf trigger-version {12199    leaf trigger-version {
n16362      type uint64;n12200      type uint32;
16363      description12201      description
n16364        "The thread version last timethe thread is run";n12202        "TriggerVersion";
16365    }12203    }
16366    leaf trigger-table-version {12204    leaf trigger-table-version {
n16367      type uint64;n12205      type uint32;
16368      description12206      description
16369        "TriggerTableVersion";12207        "TriggerTableVersion";
16370    }12208    }
16371  }12209  }
1637212210
16373  grouping BGP-THREAD-TRIGGER-INFO {12211  grouping BGP-THREAD-TRIGGER-INFO {
16374    description12212    description
16375      "BGP THREAD TRIGGER INFO";12213      "BGP THREAD TRIGGER INFO";
16376    leaf triggers {12214    leaf triggers {
16377      type uint32;12215      type uint32;
16378      description12216      description
n16379        "Number of times the threadwas triggered";n12217        "Triggers";
16380    }12218    }
16381    list statistic {12219    list statistic {
16382      description12220      description
n16383        "stats recorded per trigger";n12221        "statistic";
16384      uses BGP-THREAD-TRIGGER-INFO-STAT;12222      uses BGP-THREAD-TRIGGER-INFO-STAT;
16385    }12223    }
16386  }12224  }
1638712225
16388  grouping BGP-PROCESS-INFO-AF-GBL {12226  grouping BGP-PROCESS-INFO-AF-GBL {
16389    description12227    description
16390      "BGP PROCESS INFO AF GBL";12228      "BGP PROCESS INFO AF GBL";
nn12229    container version-wrap-time-spec {
12230      description
12231        "Version Wrap timestamp";
12232      uses BGP-TIMESPEC;
12233    }
12234    container version-wrap-start-time-spec {
12235      description
12236        "Version Wrap handle start timestamp";
12237      uses BGP-TIMESPEC;
12238    }
12239    container version-wrap-done-time-spec {
12240      description
12241        "Version Wrap handle Done timestamp";
12242      uses BGP-TIMESPEC;
12243    }
16391    container trigger-rib {12244    container trigger-rib {
16392      description12245      description
16393        "Trigger RIB";12246        "Trigger RIB";
16394      uses BGP-THREAD-TRIGGER-INFO;12247      uses BGP-THREAD-TRIGGER-INFO;
16395    }12248    }
16396    container trigger-import {12249    container trigger-import {
16397      description12250      description
n16398        "Flag to keep track of import triggers to each ofn12251        "Trigger import";
16399         the threads";
16400      uses BGP-THREAD-TRIGGER-INFO;12252      uses BGP-THREAD-TRIGGER-INFO;
16401    }12253    }
16402    container trigger-update {12254    container trigger-update {
16403      description12255      description
n16404        "Flag to keep track of update triggers for eachn12256        "Trigger update";
16405         thread";
16406      uses BGP-THREAD-TRIGGER-INFO;12257      uses BGP-THREAD-TRIGGER-INFO;
16407    }12258    }
16408    container trigger-label {12259    container trigger-label {
16409      description12260      description
n16410        "Label to keep track of trigger for each thread";n12261        "Trigger label";
16411      uses BGP-THREAD-TRIGGER-INFO;12262      uses BGP-THREAD-TRIGGER-INFO;
16412    }12263    }
16413    container rib-install {12264    container rib-install {
16414      description12265      description
16415        "RIB install info";12266        "RIB install info";
16416      uses BGP-RIB-INSTALL-TIME-INFO;12267      uses BGP-RIB-INSTALL-TIME-INFO;
16417    }12268    }
16418    leaf router-state {12269    leaf router-state {
16419      type Bgp-rtr-state;12270      type Bgp-rtr-state;
16420      description12271      description
n16421        "BGP router state for the address family ";n12272        "Router state";
16422    }12273    }
16423    leaf table-version {12274    leaf table-version {
n16424      type uint64;n12275      type uint32;
16425      description12276      description
n16426        "BGP main routing table version";n12277        "BGP table version";
12278    }
12279    leaf version-wrapped {
12280      type uint32;
12281      description
12282        "Number of times Version Wrap happened";
12283    }
12284    leaf version-wrapped-tid {
12285      type uint32;
12286      description
12287        "Version Wrapped trigger tid";
16427    }12288    }
16428    leaf max-active-pelem-version {12289    leaf max-active-pelem-version {
n16429      type uint64;n12290      type uint32;
16430      description12291      description
16431        "Maximum Active Pelem Version";12292        "Maximum Active Pelem Version";
16432    }12293    }
16433    leaf merged-table-version {12294    leaf merged-table-version {
n16434      type uint64;n12295      type uint32;
16435      description12296      description
n16436        "The merged Bgp table version after RPFO";n12297        "Merged Table Version";
16437    }12298    }
16438    leaf route-download-go-active-done-pending {12299    leaf route-download-go-active-done-pending {
16439      type uint32;12300      type uint32;
16440      description12301      description
n16441        "To indicate whether routedownload go-active-donen12302        "Route Download Go Active Done Pending";
16442         pulse is sent or not";
16443    }12303    }
16444    leaf rib-brib-received-version {12304    leaf rib-brib-received-version {
n16445      type uint64;n12305      type uint32;
16446      description12306      description
16447        "Version received from ";12307        "Version received from ";
16448    }12308    }
16449    leaf table-brib-version {12309    leaf table-brib-version {
n16450      type uint64;n12310      type uint32;
16451      description12311      description
16452        "Version sent to RIB/bRIB";12312        "Version sent to RIB/bRIB";
16453    }12313    }
16454    leaf label-version {12314    leaf label-version {
n16455      type uint64;n12315      type uint32;
16456      description12316      description
16457        "Version updated by label thread";12317        "Version updated by label thread";
16458    }12318    }
16459    leaf import-version {12319    leaf import-version {
n16460      type uint64;n12320      type uint32;
16461      description12321      description
16462        "Version updated by import thread";12322        "Version updated by import thread";
16463    }12323    }
16464    leaf standby-version {12324    leaf standby-version {
n16465      type uint64;n12325      type uint32;
16466      description12326      description
16467        "Version updated by sync thread";12327        "Version updated by sync thread";
16468    }12328    }
16469    leaf send-version {12329    leaf send-version {
n16470      type uint64;n12330      type uint32;
16471      description12331      description
16472        "Version for sending updates to peers";12332        "Version for sending updates to peers";
16473    }12333    }
16474    leaf num-init-sync-pfx {12334    leaf num-init-sync-pfx {
16475      type uint32;12335      type uint32;
16476      description12336      description
16477        "Num of prefix synced during Initsync";12337        "Num of prefix synced during Initsync";
16478    }12338    }
16479    leaf max-label-stack-depth-v4-next-hop {12339    leaf max-label-stack-depth-v4-next-hop {
16480      type uint32;12340      type uint32;
16481      description12341      description
n16482        "Max supported label stack depth  for IPv4n12342        "Max supported label stack depth for IPv4 Nexthop";
16483         Nexthop";
16484    }12343    }
16485    leaf max-label-stack-depth-v6-next-hop {12344    leaf max-label-stack-depth-v6-next-hop {
16486      type uint32;12345      type uint32;
16487      description12346      description
n16488        "Max supported label stack depth  for IPv6n12347        "Max supported label stack depth for IPv6 Nexthop";
16489         Nexthop";
16490    }12348    }
16491    leaf local-networks-num {12349    leaf local-networks-num {
16492      type uint32;12350      type uint32;
16493      description12351      description
16494        "Total local networks";12352        "Total local networks";
16495    }12353    }
16496    leaf local-networks-memory {12354    leaf local-networks-memory {
n16497      type uint64;n12355      type uint32;
16498      description12356      description
n16499        "Total number of networks memory in global BGPn12357        "Total local networks memory";
16500         address-family (Approximate)";
16501    }12358    }
16502    leaf local-networks-malloced-num {12359    leaf local-networks-malloced-num {
16503      type uint32;12360      type uint32;
16504      description12361      description
n16505        "Total number of networks for which memory isn12362        "Total local networks malloced";
16506         allocated";
16507    }12363    }
16508    leaf local-networks-freed-num {12364    leaf local-networks-freed-num {
16509      type uint32;12365      type uint32;
16510      description12366      description
16511        "Total local networks freed";12367        "Total local networks freed";
16512    }12368    }
16513    leaf local-paths-num {12369    leaf local-paths-num {
16514      type uint32;12370      type uint32;
16515      description12371      description
16516        "Total local paths";12372        "Total local paths";
16517    }12373    }
16518    leaf local-paths-memory {12374    leaf local-paths-memory {
n16519      type uint64;n12375      type uint32;
16520      description12376      description
n16521        "Total memory allocated for local paths in BGPn12377        "Total local paths memory";
16522         process (Approximate)";
16523    }12378    }
16524    leaf local-paths-malloced-num {12379    leaf local-paths-malloced-num {
16525      type uint32;12380      type uint32;
16526      description12381      description
n16527        "Total local paths for which memory allocated";n12382        "Total local paths malloced";
16528    }12383    }
16529    leaf local-paths-freed-num {12384    leaf local-paths-freed-num {
16530      type uint32;12385      type uint32;
16531      description12386      description
16532        "Total local paths freed";12387        "Total local paths freed";
16533    }12388    }
16534    leaf imported-paths-num {12389    leaf imported-paths-num {
16535      type uint32;12390      type uint32;
16536      description12391      description
n16537        "Total imported paths";n12392        "Total impoorted paths ";
16538    }12393    }
16539    leaf imported-paths-memory {12394    leaf imported-paths-memory {
n16540      type uint64;n12395      type uint32;
16541      description12396      description
n16542        "Total memory allocated for imported paths in BGPn12397        "Total imported paths memory";
16543         process (Approximate)";
16544    }12398    }
16545    leaf networks-num {12399    leaf networks-num {
16546      type uint32;12400      type uint32;
16547      description12401      description
16548        "Total Num of networks";12402        "Total Num of networks";
16549    }12403    }
16550    leaf networks-memory {12404    leaf networks-memory {
n16551      type uint64;n12405      type uint32;
16552      description12406      description
n16553        "Total memory allocated for networks in BGPn12407        "Total networks memory";
16554         process (Approximate)";
16555    }12408    }
16556    leaf networks-malloced-num {12409    leaf networks-malloced-num {
16557      type uint32;12410      type uint32;
16558      description12411      description
n16559        "Total networks for which memory allocated";n12412        "Total networks malloced";
16560    }12413    }
16561    leaf networks-freed-num {12414    leaf networks-freed-num {
16562      type uint32;12415      type uint32;
16563      description12416      description
16564        "Total networks freed";12417        "Total networks freed";
16565    }12418    }
16566    leaf paths-num {12419    leaf paths-num {
16567      type uint32;12420      type uint32;
16568      description12421      description
16569        "Total Num of paths";12422        "Total Num of paths";
16570    }12423    }
16571    leaf paths-memory {12424    leaf paths-memory {
n16572      type uint64;n12425      type uint32;
16573      description12426      description
n16574        "Total paths memory (Approximate)";n12427        "Total paths memory";
16575    }12428    }
16576    leaf paths-malloced-num {12429    leaf paths-malloced-num {
16577      type uint32;12430      type uint32;
16578      description12431      description
n16579        "Total paths for which memory allocated";n12432        "Total paths malloced";
16580    }12433    }
16581    leaf paths-freed-num {12434    leaf paths-freed-num {
16582      type uint32;12435      type uint32;
16583      description12436      description
16584        "Total paths freed";12437        "Total paths freed";
16585    }12438    }
16586    leaf path-elems-num {12439    leaf path-elems-num {
16587      type uint32;12440      type uint32;
16588      description12441      description
16589        "Total Num of path-elems";12442        "Total Num of path-elems";
16590    }12443    }
16591    leaf path-elems-memory {12444    leaf path-elems-memory {
n16592      type uint64;n12445      type uint32;
16593      description12446      description
n16594        "Total memory allocated for path-elements in BGPn12447        "Total path-elems memory";
16595         process (Approximate)";
16596    }12448    }
16597    leaf path-elems-malloced-num {12449    leaf path-elems-malloced-num {
16598      type uint32;12450      type uint32;
16599      description12451      description
n16600        "Total memory allocated for path-element number";n12452        "Total path-elems malloced";
16601    }12453    }
16602    leaf path-elems-freed-num {12454    leaf path-elems-freed-num {
16603      type uint32;12455      type uint32;
16604      description12456      description
16605        "Total path-elems freed";12457        "Total path-elems freed";
16606    }12458    }
16607    leaf label-last-trigger {12459    leaf label-last-trigger {
16608      type uint64;12460      type uint64;
16609      description12461      description
16610        "Timestamp when Label thread is last triggered";12462        "Timestamp when Label thread is last triggered";
16611    }12463    }
16612    leaf last-label-version {12464    leaf last-label-version {
n16613      type uint64;n12465      type uint32;
16614      description12466      description
16615        "Label thread version when last triggered";12467        "Label thread version when last triggered";
16616    }12468    }
16617    leaf label-bgp-version {12469    leaf label-bgp-version {
n16618      type uint64;n12470      type uint32;
16619      description12471      description
16620        "BGP version when label thread is last triggered";12472        "BGP version when label thread is last triggered";
16621    }12473    }
16622    leaf label-triggers {12474    leaf label-triggers {
16623      type uint32;12475      type uint32;
16624      description12476      description
16625        "Label thread triggers";12477        "Label thread triggers";
16626    }12478    }
16627    leaf rib-last-trigger {12479    leaf rib-last-trigger {
16628      type uint64;12480      type uint64;
16629      description12481      description
16630        "Timestamp when RIB thread is last triggered";12482        "Timestamp when RIB thread is last triggered";
16631    }12483    }
16632    leaf last-rib-version {12484    leaf last-rib-version {
n16633      type uint64;n12485      type uint32;
16634      description12486      description
16635        "RIB thread version when last triggered";12487        "RIB thread version when last triggered";
16636    }12488    }
16637    leaf rib-bgp-version {12489    leaf rib-bgp-version {
n16638      type uint64;n12490      type uint32;
16639      description12491      description
16640        "BGP version when RIB thread is last triggered";12492        "BGP version when RIB thread is last triggered";
16641    }12493    }
16642    leaf rib-triggers {12494    leaf rib-triggers {
16643      type uint32;12495      type uint32;
16644      description12496      description
16645        "RIB thread triggers";12497        "RIB thread triggers";
16646    }12498    }
16647    leaf import-last-trigger {12499    leaf import-last-trigger {
16648      type uint64;12500      type uint64;
16649      description12501      description
16650        "Timestamp when Import thread is last triggered";12502        "Timestamp when Import thread is last triggered";
16651    }12503    }
16652    leaf last-import-version {12504    leaf last-import-version {
n16653      type uint64;n12505      type uint32;
16654      description12506      description
16655        "Import thread version when last triggered";12507        "Import thread version when last triggered";
16656    }12508    }
16657    leaf import-bgp-version {12509    leaf import-bgp-version {
n16658      type uint64;n12510      type uint32;
16659      description12511      description
16660        "BGP version when Import thread is last triggered";12512        "BGP version when Import thread is last triggered";
16661    }12513    }
16662    leaf import-triggers {12514    leaf import-triggers {
16663      type uint32;12515      type uint32;
16664      description12516      description
16665        "Import thread triggers";12517        "Import thread triggers";
16666    }12518    }
16667    leaf update-gen-last-trigger {12519    leaf update-gen-last-trigger {
16668      type uint64;12520      type uint64;
16669      description12521      description
16670        "Timestamp when Update generation thread is last12522        "Timestamp when Update generation thread is last
16671         triggered";12523         triggered";
16672    }12524    }
16673    leaf update-gen-bgp-version {12525    leaf update-gen-bgp-version {
n16674      type uint64;n12526      type uint32;
16675      description12527      description
16676        "BGP version when Update generation thread is12528        "BGP version when Update generation thread is
16677         last triggered";12529         last triggered";
16678    }12530    }
16679    leaf update-triggers {12531    leaf update-triggers {
16680      type uint32;12532      type uint32;
16681      description12533      description
16682        "Update thread triggers";12534        "Update thread triggers";
16683    }12535    }
16684    leaf total-r-ds-num {12536    leaf total-r-ds-num {
16685      type uint32;12537      type uint32;
16686      description12538      description
16687        "Total Num of RDs";12539        "Total Num of RDs";
16688    }12540    }
16689    leaf total-remote-r-ds-num {12541    leaf total-remote-r-ds-num {
16690      type uint32;12542      type uint32;
16691      description12543      description
16692        "Total Num of remote RDs";12544        "Total Num of remote RDs";
16693    }12545    }
16694    leaf total-same-r-ds-num {12546    leaf total-same-r-ds-num {
16695      type uint32;12547      type uint32;
16696      description12548      description
16697        "Total Num of same RDs";12549        "Total Num of same RDs";
16698    }12550    }
16699    leaf malloced-rd-count {12551    leaf malloced-rd-count {
16700      type uint32;12552      type uint32;
16701      description12553      description
16702        "Activity: Number of RDs malloced";12554        "Activity: Number of RDs malloced";
16703    }12555    }
16704    leaf freed-rd-count {12556    leaf freed-rd-count {
16705      type uint32;12557      type uint32;
16706      description12558      description
16707        "Activity: Number of RDs freed";12559        "Activity: Number of RDs freed";
16708    }12560    }
16709    leaf rd-memory {12561    leaf rd-memory {
n16710      type uint64;n12562      type uint32;
16711      units "byte";12563      units "byte";
16712      description12564      description
n16713        "Memory (in bytes) used by RD data (Approximate)";n12565        "Memory (in bytes) used by RD data";
16714    }12566    }
16715    leaf multipath-network-entry-count {12567    leaf multipath-network-entry-count {
16716      type uint32;12568      type uint32;
16717      description12569      description
16718        "Number of multipath network entries";12570        "Number of multipath network entries";
16719    }12571    }
16720    leaf multipath-network-entry-memory {12572    leaf multipath-network-entry-memory {
n16721      type uint64;n12573      type uint32;
16722      units "byte";12574      units "byte";
16723      description12575      description
16724        "Memory (in bytes) used bymultipath network12576        "Memory (in bytes) used bymultipath network
n16725         entries (Approximate)";n12577         entries";
16726    }12578    }
16727    leaf multipath-paths-count {12579    leaf multipath-paths-count {
16728      type uint32;12580      type uint32;
16729      description12581      description
16730        "Number of multipath paths";12582        "Number of multipath paths";
16731    }12583    }
16732    leaf multipath-paths-memory {12584    leaf multipath-paths-memory {
n16733      type uint64;n12585      type uint32;
16734      units "byte";12586      units "byte";
16735      description12587      description
n16736        "Memory (in bytes) used bymultimpath pathsn12588        "Memory (in bytes) used bymultimpath paths";
16737         (Approximate)";
16738    }12589    }
16739    leaf update-wait-install-enabled {12590    leaf update-wait-install-enabled {
16740      type uint32;12591      type uint32;
16741      description12592      description
n16742        "BGP process update wait until install isn12593        "Update wait-install enabled";
16743         configured";
16744    }
16745    leaf update-wait-install-startup-delay {
16746      type uint16;
16747      units "second";
16748      description
16749        "Update wait install startup delay in seconds";
16750    }12594    }
16751    leaf rib-acked-table-version {12595    leaf rib-acked-table-version {
n16752      type uint64;n12596      type uint32;
16753      description12597      description
n16754        "Table version acked by routing information base";n12598        "Table version acked by RIB";
16755    }12599    }
16756    leaf rib-ack-requests {12600    leaf rib-ack-requests {
16757      type uint32;12601      type uint32;
16758      description12602      description
n16759        "Count for RIB ack requests";n12603        "Counter for RIB ack requests";
16760    }12604    }
16761    leaf rib-acks-received {12605    leaf rib-acks-received {
16762      type uint32;12606      type uint32;
16763      description12607      description
n16764        "Count for RIB ack received";n12608        "Counter for RIB ack received";
16765    }12609    }
16766    leaf rib-slow-acks {12610    leaf rib-slow-acks {
16767      type uint32;12611      type uint32;
16768      description12612      description
n16769        "Count for slow RIB acks";n12613        "Counter for slow RIB acks";
16770    }12614    }
16771  }12615  }
1677212616
16773  grouping BGP-PROCESS-INFO-AF-BAG {12617  grouping BGP-PROCESS-INFO-AF-BAG {
16774    description12618    description
16775      "BGP address family specific process information";12619      "BGP address family specific process information";
16776    container global {12620    container global {
16777      description12621      description
16778        "Global information";12622        "Global information";
16779      uses BGP-PROCESS-INFO-AF-GBL;12623      uses BGP-PROCESS-INFO-AF-GBL;
16780    }12624    }
16781    container vrf {12625    container vrf {
16782      description12626      description
16783        "VRF information";12627        "VRF information";
16784      uses BGP-PROCESS-INFO-AF-VRF;12628      uses BGP-PROCESS-INFO-AF-VRF;
16785    }12629    }
16786    container performance-statistics {12630    container performance-statistics {
16787      description12631      description
n16788        "BGP process address familyperformance statisticsn12632        "Performance statistics";
16789         info";
16790      uses BGP-PERF-PROCESS-AF;12633      uses BGP-PERF-PROCESS-AF;
16791    }12634    }
16792    leaf af-name {12635    leaf af-name {
16793      type Bgp-afi;12636      type Bgp-afi;
16794      description12637      description
16795        "Address family id";12638        "Address family id";
16796    }12639    }
16797    leaf process-instance {12640    leaf process-instance {
16798      type uint8;12641      type uint8;
16799      description12642      description
16800        "ID for the BGP process instance";12643        "ID for the BGP process instance";
16801    }12644    }
16802    leaf vrf-name {12645    leaf vrf-name {
16803      type string;12646      type string;
16804      description12647      description
16805        "Name of the VRF";12648        "Name of the VRF";
16806    }12649    }
16807    leaf vrf-totals {12650    leaf vrf-totals {
16808      type boolean;12651      type boolean;
16809      description12652      description
16810        "per VRF information aggregated across all VRFs";12653        "per VRF information aggregated across all VRFs";
16811    }12654    }
16812  }12655  }
1681312656
16814  grouping BGP-CONVERGENCE-BAG {12657  grouping BGP-CONVERGENCE-BAG {
16815    description12658    description
16816      "BGP Convergence";12659      "BGP Convergence";
16817    leaf af-name {12660    leaf af-name {
16818      type Bgp-afi;12661      type Bgp-afi;
16819      description12662      description
16820        "Address family identifier";12663        "Address family identifier";
16821    }12664    }
16822    leaf has-converged {12665    leaf has-converged {
16823      type boolean;12666      type boolean;
16824      description12667      description
16825        "Convergence has been reached";12668        "Convergence has been reached";
16826    }12669    }
16827    leaf are-write-queues-empty {12670    leaf are-write-queues-empty {
16828      type boolean;12671      type boolean;
16829      description12672      description
16830        "All neighbor write queues are empty";12673        "All neighbor write queues are empty";
16831    }12674    }
n16832    leaf not-converged-neighbor {n
16833      type string;
16834      description
16835        "Not converged Neighbor";
16836    }
16837    leaf message-pending {
16838      type boolean;
16839      description
16840        "Pending Message Send";
16841    }
16842    leaf are-read-queues-empty {
16843      type boolean;
16844      description
16845        "All neighbor read queues";
16846    }
16847    leaf write-queue-size {
16848      type uint32;
16849      description
16850        "Neighbor write queue size";
16851    }
16852    leaf read-queue-size {
16853      type int32;
16854      description
16855        "Neighbor read queue size";
16856    }
16857  }12675  }
1685812676
16859  grouping BGP-ATTR-RNH-ADDR {12677  grouping BGP-ATTR-RNH-ADDR {
16860    description12678    description
16861      "BGP ATTR RNH ADDR";12679      "BGP ATTR RNH ADDR";
16862    leaf len {12680    leaf len {
16863      type Bgp-rnh-addr-len;12681      type Bgp-rnh-addr-len;
16864      description12682      description
16865        "len";12683        "len";
16866    }12684    }
16867    leaf ipv4-address {12685    leaf ipv4-address {
16868      when "../len = 'v4'" {12686      when "../len = 'v4'" {
16869        description12687        description
16870          "../len = 'v4'";12688          "../len = 'v4'";
16871      }12689      }
16872      type inet:ipv4-address;12690      type inet:ipv4-address;
16873      description12691      description
16874        "IPv4 Addr";12692        "IPv4 Addr";
16875    }12693    }
16876    leaf ipv6-address {12694    leaf ipv6-address {
16877      when "../len = 'v6'" {12695      when "../len = 'v6'" {
16878        description12696        description
16879          "../len = 'v6'";12697          "../len = 'v6'";
16880      }12698      }
16881      type Ipv6-address;12699      type Ipv6-address;
16882      description12700      description
16883        "IPv6 Addr";12701        "IPv6 Addr";
16884    }12702    }
16885    leaf mac-address {12703    leaf mac-address {
16886      when "../len = 'mac'" {12704      when "../len = 'mac'" {
16887        description12705        description
16888          "../len = 'Mac'";12706          "../len = 'Mac'";
16889      }12707      }
16890      type Mac-address;12708      type Mac-address;
16891      description12709      description
16892        "MAC Addr";12710        "MAC Addr";
16893    }12711    }
16894  }12712  }
1689512713
16896  grouping BGP-BAG-LARGECOMM {12714  grouping BGP-BAG-LARGECOMM {
16897    description12715    description
16898      "Large Community";12716      "Large Community";
16899    leaf global-admin {12717    leaf global-admin {
16900      type uint32;12718      type uint32;
16901      description12719      description
16902        "Global Administrator";12720        "Global Administrator";
16903    }12721    }
16904    leaf local-data1 {12722    leaf local-data1 {
16905      type uint32;12723      type uint32;
16906      description12724      description
16907        "Local Data 1";12725        "Local Data 1";
16908    }12726    }
16909    leaf local-data2 {12727    leaf local-data2 {
16910      type uint32;12728      type uint32;
16911      description12729      description
16912        "Local Data 2";12730        "Local Data 2";
16913    }12731    }
16914  }12732  }
1691512733
16916  grouping SR-SID {12734  grouping SR-SID {
16917    description12735    description
16918      "Segement id value";12736      "Segement id value";
16919    leaf type {12737    leaf type {
16920      type Sr-sid;12738      type Sr-sid;
16921      description12739      description
16922        "Type";12740        "Type";
16923    }12741    }
16924    leaf label {12742    leaf label {
16925      when "../type = 'label'" {12743      when "../type = 'label'" {
16926        description12744        description
16927          "../Type = 'Label'";12745          "../Type = 'Label'";
16928      }12746      }
16929      type uint32;12747      type uint32;
16930      description12748      description
16931        "MPLS Label value";12749        "MPLS Label value";
16932    }12750    }
16933    leaf ipv4-address {12751    leaf ipv4-address {
16934      when "../type = 'ipv4'" {12752      when "../type = 'ipv4'" {
16935        description12753        description
16936          "../Type = 'IPv4'";12754          "../Type = 'IPv4'";
16937      }12755      }
16938      type inet:ipv4-address;12756      type inet:ipv4-address;
16939      description12757      description
16940        "IPv4 Address value";12758        "IPv4 Address value";
16941    }12759    }
16942    leaf ipv6-address {12760    leaf ipv6-address {
16943      when "../type = 'ipv6'" {12761      when "../type = 'ipv6'" {
16944        description12762        description
16945          "../Type = 'IPv6'";12763          "../Type = 'IPv6'";
16946      }12764      }
16947      type Ipv6-address;12765      type Ipv6-address;
16948      description12766      description
16949        "IPv6 address value";12767        "IPv6 address value";
16950    }12768    }
16951  }12769  }
1695212770
16953  grouping SR-EXPPATH {12771  grouping SR-EXPPATH {
16954    description12772    description
16955      "SR Policy Explicit Path";12773      "SR Policy Explicit Path";
16956    leaf weight {12774    leaf weight {
16957      type uint8;12775      type uint8;
16958      description12776      description
16959        "Weight of segment list";12777        "Weight of segment list";
16960    }12778    }
16961    list segment {12779    list segment {
16962      description12780      description
16963        "Segments in segment list";12781        "Segments in segment list";
16964      uses SR-SID;12782      uses SR-SID;
16965    }12783    }
16966  }12784  }
1696712785
16968  grouping BGP-BINDING-SID {12786  grouping BGP-BINDING-SID {
16969    description12787    description
16970      "BGP BINDING SID";12788      "BGP BINDING SID";
16971    leaf type {12789    leaf type {
16972      type Bgp-binding-sid;12790      type Bgp-binding-sid;
16973      description12791      description
16974        "Type";12792        "Type";
16975    }12793    }
16976    leaf label {12794    leaf label {
16977      when "../type = 'label'" {12795      when "../type = 'label'" {
16978        description12796        description
16979          "../Type = 'label'";12797          "../Type = 'label'";
16980      }12798      }
16981      type uint32;12799      type uint32;
16982      description12800      description
16983        "MPLS Label";12801        "MPLS Label";
16984    }12802    }
16985    leaf ipv6-address {12803    leaf ipv6-address {
16986      when "../type = 'v6'" {12804      when "../type = 'v6'" {
16987        description12805        description
16988          "../Type = 'v6'";12806          "../Type = 'v6'";
16989      }12807      }
16990      type Ipv6-address;12808      type Ipv6-address;
16991      description12809      description
16992        "IPv6 Addr";12810        "IPv6 Addr";
16993    }12811    }
16994  }12812  }
1699512813
16996  grouping BGP-SRPOLICY-ENTRY {12814  grouping BGP-SRPOLICY-ENTRY {
16997    description12815    description
16998      "SR policy Entry";12816      "SR policy Entry";
16999    container binding-sid {12817    container binding-sid {
17000      description12818      description
17001        "SR Policy incoming Binding sid";12819        "SR Policy incoming Binding sid";
17002      uses BGP-BINDING-SID;12820      uses BGP-BINDING-SID;
17003    }12821    }
17004    container allocated-binding-sid {12822    container allocated-binding-sid {
17005      description12823      description
17006        "SR Policy allocated Binding sid by the router";12824        "SR Policy allocated Binding sid by the router";
17007      uses BGP-BINDING-SID;12825      uses BGP-BINDING-SID;
17008    }12826    }
17009    leaf tunnel-encap-type {12827    leaf tunnel-encap-type {
17010      type uint16;12828      type uint16;
17011      description12829      description
17012        "Tunnel Encapsulation Type";12830        "Tunnel Encapsulation Type";
17013    }12831    }
17014    leaf preference {12832    leaf preference {
17015      type uint32;12833      type uint32;
17016      description12834      description
17017        "SR Policy Preference";12835        "SR Policy Preference";
17018    }12836    }
17019    leaf state {12837    leaf state {
17020      type boolean;12838      type boolean;
17021      description12839      description
17022        "SR Policy active state in forwarding";12840        "SR Policy active state in forwarding";
17023    }12841    }
17024    leaf request-state {12842    leaf request-state {
17025      type Bgp-srpolicy-req-state;12843      type Bgp-srpolicy-req-state;
17026      description12844      description
17027        "SR Policy programming Status";12845        "SR Policy programming Status";
17028    }12846    }
17029    leaf usable {12847    leaf usable {
17030      type boolean;12848      type boolean;
17031      description12849      description
17032        "SR Policy is usable on this node";12850        "SR Policy is usable on this node";
17033    }12851    }
17034    list segment-list {12852    list segment-list {
17035      description12853      description
17036        "SR Policy Segment Lists";12854        "SR Policy Segment Lists";
17037      uses SR-EXPPATH;12855      uses SR-EXPPATH;
17038    }12856    }
17039  }12857  }
1704012858
17041  grouping BGP-TUNENCAP-ENTRY {12859  grouping BGP-TUNENCAP-ENTRY {
17042    description12860    description
17043      "Tunnel Encap attribute entry";12861      "Tunnel Encap attribute entry";
17044    container sr-policy {12862    container sr-policy {
17045      description12863      description
17046        "Tunnel encap type SR policy";12864        "Tunnel encap type SR policy";
17047      uses BGP-SRPOLICY-ENTRY;12865      uses BGP-SRPOLICY-ENTRY;
17048    }12866    }
17049  }12867  }
1705012868
17051  grouping BGP-BAG-PSID-UNK-TLVS {12869  grouping BGP-BAG-PSID-UNK-TLVS {
17052    description12870    description
17053      "Prefix-SID Unknown TLVs buffer";12871      "Prefix-SID Unknown TLVs buffer";
17054    leaf tlv-count {12872    leaf tlv-count {
17055      type uint16;12873      type uint16;
17056      description12874      description
17057        "Number of unknown TLVs stored";12875        "Number of unknown TLVs stored";
17058    }12876    }
17059    leaf received-buffer-length {12877    leaf received-buffer-length {
17060      type uint32;12878      type uint32;
17061      description12879      description
17062        "Received length of unknown TLVs";12880        "Received length of unknown TLVs";
17063    }12881    }
17064    list tl-vs-buffer {12882    list tl-vs-buffer {
17065      description12883      description
17066        "Limited buffer of unknown TLVs";12884        "Limited buffer of unknown TLVs";
17067      leaf entry {12885      leaf entry {
17068        type uint8;12886        type uint8;
17069        description12887        description
17070          "Limited buffer of unknown TLVs";12888          "Limited buffer of unknown TLVs";
17071      }12889      }
17072    }12890    }
17073  }12891  }
1707412892
n17075  grouping BGP-BAG-PSID-SRV6-L3SVC {n12893  grouping BGP-BAG-PSID-SRV6-VPN-TSID {
12894    description
12895      "Prefix-SID SRv6 VPN Type And SID info";
12896    leaf sid-type {
12897      type uint8;
17076    description12898      description
12899        "SID Type";
12900    }
12901    leaf sid-flags {
12902      type uint8;
12903      description
12904        "SID Flags";
12905    }
12906    leaf sid-value {
12907      type inet:ipv6-address;
12908      description
12909        "SID Value";
12910    }
12911  }
12912 
12913  grouping BGP-BAG-PSID-SRV6-VPN-SID {
12914    description
17077      "Prefix-SID SRv6-l3svc TLV info";12915      "Prefix-SID SRv6-VPN-SID TLV info";
17078    leaf reserved {12916    leaf reserved {
17079      type uint8;12917      type uint8;
17080      description12918      description
17081        "Reserved field";12919        "Reserved field";
17082    }12920    }
n17083    leaf sub-tlv-count {n12921    leaf sid-count {
17084      type uint16;
17085      description
17086        "Number of subtlvs";
17087    }
17088    list sub-tlv {
17089      description
17090        "Sub TLVs";
17091      uses BGP-BAG-PSID-SRV6-SVC-SUBTLV-INFO;
17092    }
17093  }
17094 
17095  grouping BGP-BAG-PSID-SRV6-SVC-SIDINFO-SUBSUBTLV-SID-STRUCT {
17096    description
17097      "BGP BAG PSID SRV6 SVC SIDINFO SUBSUBTLV SID
17098       STRUCT";
17099    leaf loc-blk-len {
17100      type uint8;12922      type uint32;
17101      description
17102        "locator blk len";
17103    }
17104    leaf loc-node-len {
17105      type uint8;
17106      description
17107        "locator node len";
17108    }
17109    leaf func-len {
17110      type uint8;
17111      description
17112        "Function len";
17113    }
17114    leaf arg-len {
17115      type uint8;
17116      description
17117        "Argument len";
17118    }
17119    leaf transpose-len {
17120      type uint8;
17121      description
17122        "Transpose len";
17123    }
17124    leaf transpose-offset {
17125      type uint8;
17126      description
17127        "Transpose offset";
17128    }
17129  }
17130 
17131  grouping BGP-BAG-PSID-SRV6-SVC-SIDINFO-SUBSUBTLV-VAL {
17132    description
17133      "Prefix-SID SRv6-svc SUBSUB TLV types";
17134    container sid-struct {
17135      description
17136        "SIDStruct field";
17137      uses BGP-BAG-PSID-SRV6-SVC-SIDINFO-SUBSUBTLV-SID-STRUCT;
17138    }
17139    list unknown-buf {
17140      description
17141        "Unknown buff";
17142      leaf entry {
17143        type uint8;
17144        description
17145          "Unknown buff";
17146      }
17147    }
17148  }
17149 
17150  grouping BGP-BAG-PSID-SRV6-SVC-SIDINFO-SUBSUBTLV-INFO {
17151    description
17152      "Prefix-SID SRv6-svc SUBSUB TLV info";
17153    container sub-sub-tlv-val {
17154      description
17155        "Subsub TLV Val";
17156      uses BGP-BAG-PSID-SRV6-SVC-SIDINFO-SUBSUBTLV-VAL;
17157    }
17158    leaf type {
17159      type uint8;
17160      description
17161        "SUBSUBtlv Type";
17162    }
17163    leaf length {
17164      type uint16;
17165      description
17166        "SUBSUBTLv length";
17167    }
17168  }
17169 
17170  grouping BGP-BAG-PSID-SRV6-SVC-SUBSUBTLV-INFO {
17171    description
17172      "Prefix-SID SRv6-svc SUBSUB TLV val";
17173    leaf reserved2 {
17174      type uint8;
17175      description
17176        "SUB TLV reserved";
17177    }
17178    leaf sid {
17179      type inet:ipv6-address;
17180      description
17181        "SID new Value";
17182    }
17183    leaf sid-flags {
17184      type uint8;
17185      description
17186        "SID Flags";
17187    }
17188    leaf sid-behavior {
17189      type uint16;
17190      description
17191        "SID ENDPT behavior";
17192    }
17193    leaf reserved3 {
17194      type uint8;
17195      description
17196        "SUB SUB TLV reserved";
17197    }
17198    leaf sub-sub-tlv-count {
17199      type uint16;
17200      description
17201        "SUB SUB TLV Count";
17202    }
17203    list sub-sub-tlv {
17204      description
17205        "List of sub sub tlvs";
17206      uses BGP-BAG-PSID-SRV6-SVC-SIDINFO-SUBSUBTLV-INFO;
17207    }
17208  }
17209 
17210  grouping BGP-BAG-PSID-SRV6-SVC-SUBTLV-VAL {
17211    description
17212      "Prefix-SID SRv6-svc SUB TLV info";
17213    container sid-info {
17214      description
17215        "SIDinfo field";
17216      uses BGP-BAG-PSID-SRV6-SVC-SUBSUBTLV-INFO;
17217    }
17218    list unknown-buf {
17219      description
17220        "Unknown buff";
17221      leaf entry {
17222        type uint8;
17223        description
17224          "Unknown buff";
17225      }
17226    }
17227  }
17228 
17229  grouping BGP-BAG-PSID-SRV6-SVC-SUBTLV-INFO {
17230    description
17231      "Prefix-SID SRv6-svc TLV val";
17232    container sub-tlv-val {
17233      description
17234        "Sub TLV Val";
17235      uses BGP-BAG-PSID-SRV6-SVC-SUBTLV-VAL;
17236    }
17237    leaf type {
17238      type uint8;
17239      description
17240        "Type field";
17241    }
17242    leaf len {
17243      type uint16;
17244      description
17245        "length of SUB_TLVs";
17246    }
17247  }
17248 
17249  grouping BGP-BAG-PSID-SRV6-L2SVC {
17250    description
17251      "Prefix-SID SRv6-l2svc TLV info";
17252    leaf reserved {
17253      type uint8;
17254      description
17255        "Reserved field";
17256    }
17257    leaf sub-tlv-count {
17258      type uint16;
17259      description12923      description
17260        "Number of SIDs";12924        "Number of SIDs";
17261    }12925    }
n17262    list sub-tlv {n12926    list sid {
17263      description12927      description
n17264        "Sub TLVs";n12928        "List of SIDs";
17265      uses BGP-BAG-PSID-SRV6-SVC-SUBTLV-INFO;12929      uses BGP-BAG-PSID-SRV6-VPN-TSID;
17266    }12930    }
17267  }12931  }
1726812932
17269  grouping BGP-BAG-SRGB-RANGE {12933  grouping BGP-BAG-SRGB-RANGE {
17270    description12934    description
17271      "SRGB Range";12935      "SRGB Range";
17272    leaf range-start {12936    leaf range-start {
17273      type uint32;12937      type uint32;
17274      description12938      description
n17275        "Start of the range for BGP Segment Routing (SR)n12939        "Range start";
17276         global block";
17277    }12940    }
17278    leaf range-end {12941    leaf range-end {
17279      type uint32;12942      type uint32;
17280      description12943      description
n17281        "End of the range for BGP Segment Routingn12944        "Range end";
17282         (SR)global block";
17283    }12945    }
17284  }12946  }
1728512947
17286  grouping BGP-BAG-PSID-ORIG-SRGB {12948  grouping BGP-BAG-PSID-ORIG-SRGB {
17287    description12949    description
17288      "Prefix-SID Orig-SRGB TLV info";12950      "Prefix-SID Orig-SRGB TLV info";
17289    leaf flags {12951    leaf flags {
17290      type uint16;12952      type uint16;
17291      description12953      description
17292        "Flags field";12954        "Flags field";
17293    }12955    }
17294    leaf range-count {12956    leaf range-count {
17295      type uint32;12957      type uint32;
17296      description12958      description
17297        "Number of SRGB ranges";12959        "Number of SRGB ranges";
17298    }12960    }
17299    list range {12961    list range {
17300      description12962      description
17301        "List of SRGB ranges";12963        "List of SRGB ranges";
17302      uses BGP-BAG-SRGB-RANGE;12964      uses BGP-BAG-SRGB-RANGE;
17303    }12965    }
17304  }12966  }
1730512967
17306  grouping BGP-BAG-PSID-LABEL-INDEX {12968  grouping BGP-BAG-PSID-LABEL-INDEX {
17307    description12969    description
17308      "Prefix-SID Label-Index info";12970      "Prefix-SID Label-Index info";
17309    leaf reserved {12971    leaf reserved {
17310      type uint8;12972      type uint8;
17311      description12973      description
17312        "Reserved field";12974        "Reserved field";
17313    }12975    }
17314    leaf flags {12976    leaf flags {
17315      type uint16;12977      type uint16;
17316      description12978      description
17317        "Flags field";12979        "Flags field";
17318    }12980    }
17319    leaf label-index {12981    leaf label-index {
17320      type uint32;12982      type uint32;
17321      description12983      description
17322        "LabelIndex field";12984        "LabelIndex field";
17323    }12985    }
17324  }12986  }
1732512987
n17326  grouping BGP-SECOND-LBL-ENTRY {n
17327    description
17328      "Secondary Label entry";
17329    leaf label-type {
17330      type uint8;
17331      description
17332        "Type of the seclabel";
17333    }
17334    leaf label {
17335      type uint32;
17336      description
17337        "Label";
17338    }
17339  }
17340 
17341  grouping BGP-PEDISTLBL-ENTRY {12988  grouping BGP-PEDISTLBL-ENTRY {
17342    description12989    description
17343      "PE distinguisher Label entry";12990      "PE distinguisher Label entry";
17344    leaf pe-address {12991    leaf pe-address {
17345      type inet:ipv4-address;12992      type inet:ipv4-address;
17346      description12993      description
17347        " PE address";12994        " PE address";
17348    }12995    }
17349    leaf label {12996    leaf label {
17350      type uint32;12997      type uint32;
17351      description12998      description
17352        "Label";12999        "Label";
17353    }13000    }
17354  }13001  }
1735513002
17356  grouping BGP-COMMON-ATTR-ENTRY {13003  grouping BGP-COMMON-ATTR-ENTRY {
17357    description13004    description
17358      "Common Set of attribute entry";13005      "Common Set of attribute entry";
17359    container prefix-sid-label-index {13006    container prefix-sid-label-index {
17360      description13007      description
17361        "Prefix-SID LabelIndex TLV info";13008        "Prefix-SID LabelIndex TLV info";
17362      uses BGP-BAG-PSID-LABEL-INDEX;13009      uses BGP-BAG-PSID-LABEL-INDEX;
17363    }13010    }
17364    container prefix-sid-orig-srgb {13011    container prefix-sid-orig-srgb {
17365      description13012      description
17366        "Prefix-SID OrigSRGB TLV info";13013        "Prefix-SID OrigSRGB TLV info";
17367      uses BGP-BAG-PSID-ORIG-SRGB;13014      uses BGP-BAG-PSID-ORIG-SRGB;
17368    }13015    }
n17369    container prefix-sid-srv6-layer2-svc {n13016    container prefix-sids-rv6vpnsid {
17370      description13017      description
n17371        "Prefix-SID SRv6L2SVC TLV info";n13018        "Prefix-SID SRv6VPNSID TLV info";
17372      uses BGP-BAG-PSID-SRV6-L2SVC;13019      uses BGP-BAG-PSID-SRV6-VPN-SID;
17373    }13020    }
n17374    container prefix-sid-srv6-layer3-svc {n
17375      description
17376        "Prefix-SID SRv6L3SVC TLV info";
17377      uses BGP-BAG-PSID-SRV6-L3SVC;
17378    }
17379    container prefix-sid-unk-tlvs {13021    container prefix-sid-unk-tl-vs {
17380      description13022      description
17381        "Prefix-SID UnkTLVs TLV info";13023        "Prefix-SID UnkTLVs TLV info";
17382      uses BGP-BAG-PSID-UNK-TLVS;13024      uses BGP-BAG-PSID-UNK-TLVS;
17383    }13025    }
17384    container tunnel-encap {13026    container tunnel-encap {
17385      description13027      description
17386        "Tunnel Encapsulation attribute";13028        "Tunnel Encapsulation attribute";
17387      uses BGP-TUNENCAP-ENTRY;13029      uses BGP-TUNENCAP-ENTRY;
17388    }13030    }
17389    leaf is-metric-present {13031    leaf is-metric-present {
17390      type boolean;13032      type boolean;
17391      description13033      description
17392        "Metric attribute present";13034        "Metric attribute present";
17393    }13035    }
17394    leaf is-local-pref-present {13036    leaf is-local-pref-present {
17395      type boolean;13037      type boolean;
17396      description13038      description
n17397        "Flag to indicate if BGP local preferencen13039        "Local Preference attribute present";
17398         attribute is present";
17399    }13040    }
17400    leaf is-atomic-aggregate-present {13041    leaf is-atomic-aggregate-present {
17401      type boolean;13042      type boolean;
17402      description13043      description
n17403        "Flag to indicate if Atomic aggregate attributen13044        "Atomic aggregate attribute present";
17404         present";
17405    }13045    }
17406    leaf is-aggregator-present {13046    leaf is-aggregator-present {
17407      type boolean;13047      type boolean;
17408      description13048      description
n17409        "Flag to indicate if Aggregator attribute present";n13049        "Aggregator attribute present";
17410    }13050    }
17411    leaf is-origin-present {13051    leaf is-origin-present {
17412      type boolean;13052      type boolean;
17413      description13053      description
n17414        "Flag to indicate if Origin attribute is present";n13054        "Origin attribute present";
17415    }13055    }
17416    leaf is-as-path-present {13056    leaf is-as-path-present {
17417      type boolean;13057      type boolean;
17418      description13058      description
17419        "AS path attribute present";13059        "AS path attribute present";
17420    }13060    }
17421    leaf is-community-present {13061    leaf is-community-present {
17422      type boolean;13062      type boolean;
17423      description13063      description
17424        "Community attribute present";13064        "Community attribute present";
17425    }13065    }
17426    leaf is-extended-community-present {13066    leaf is-extended-community-present {
17427      type boolean;13067      type boolean;
17428      description13068      description
17429        "Extended community attribute present";13069        "Extended community attribute present";
17430    }13070    }
17431    leaf is-ssa-present {13071    leaf is-ssa-present {
17432      type boolean;13072      type boolean;
17433      description13073      description
n17434        "Flag to indicate if SSA attribute is present";n13074        "SSA attribute present";
17435    }13075    }
17436    leaf is-connector-present {13076    leaf is-connector-present {
17437      type boolean;13077      type boolean;
17438      description13078      description
n17439        "Flag to indicate if BGP attribute Connector isn
17440         present";13079        "Connector present";
17441    }13080    }
17442    leaf is-pmsi-present {13081    leaf is-pmsi-present {
17443      type boolean;13082      type boolean;
17444      description13083      description
17445        "PMSI Attribute  present";13084        "PMSI Attribute  present";
17446    }13085    }
17447    leaf is-pppmp-present {13086    leaf is-pppmp-present {
17448      type boolean;13087      type boolean;
17449      description13088      description
17450        "PPMP Attribute  present";13089        "PPMP Attribute  present";
17451    }13090    }
17452    leaf is-aigp-present {13091    leaf is-aigp-present {
17453      type boolean;13092      type boolean;
17454      description13093      description
17455        "AIGP Present";13094        "AIGP Present";
17456    }13095    }
17457    leaf is-pe-distinguisher-label-present {13096    leaf is-pe-distinguisher-label-present {
17458      type boolean;13097      type boolean;
17459      description13098      description
17460        "PE distinguisher label  attribute present";13099        "PE distinguisher label  attribute present";
17461    }13100    }
n17462    leaf is-secondary-label-present {n
17463      type boolean;
17464      description
17465        "Secondary label  attribute present";
17466    }
17467    leaf is-ls-attribute-present {13101    leaf is-ls-attribute-present {
17468      type boolean;13102      type boolean;
17469      description13103      description
n17470        "Flag to indicate if BGP link-state attributen13104        "BGP LS attribute present";
17471         information is present";
17472    }13105    }
17473    leaf is-label-index-present {13106    leaf is-label-index-present {
17474      type boolean;13107      type boolean;
17475      description13108      description
17476        "Label Index attribute - present - deprecated";13109        "Label Index attribute - present - deprecated";
17477    }13110    }
n17478    leaf is-prefix-sid-label-index-present {n13111    leaf is-prefix-sid-label-indexpresent {
17479      type boolean;13112      type boolean;
17480      description13113      description
17481        "Prefix-SID LabelIndex present";13114        "Prefix-SID LabelIndex present";
17482    }13115    }
n17483    leaf is-prefix-sid-orig-srgb-present {n13116    leaf is-prefix-sid-orig-srg-bpresent {
17484      type boolean;13117      type boolean;
17485      description13118      description
17486        "Prefix-SID OrigSRGB present";13119        "Prefix-SID OrigSRGB present";
17487    }13120    }
n17488    leaf is-prefix-sid-srv6-layer3-svc-present {n13121    leaf is-prefix-sids-rv6vpnsi-dpresent {
17489      type boolean;13122      type boolean;
17490      description13123      description
n17491        "Prefix-SID SRv6L3SVC present";n13124        "Prefix-SID SRv6VPNSID present";
17492    }13125    }
n17493    leaf is-prefix-sid-srv6-layer2-svc-present {n
17494      type boolean;
17495      description
17496        "Prefix-SID SRv6L2SVC present";
17497    }
17498    leaf is-prefix-sid-unk-tlvs-present {13126    leaf is-prefix-sid-unk-tl-vspresent {
17499      type boolean;13127      type boolean;
17500      description13128      description
17501        "Prefix-SID UnkTLVs present";13129        "Prefix-SID UnkTLVs present";
17502    }13130    }
17503    leaf neighbor-as {13131    leaf neighbor-as {
17504      type uint32;13132      type uint32;
17505      description13133      description
17506        "Neighbor AS number";13134        "Neighbor AS number";
17507    }13135    }
17508    leaf aggregator-as {13136    leaf aggregator-as {
17509      type uint32;13137      type uint32;
17510      description13138      description
17511        "AS where aggregation was last performed";13139        "AS where aggregation was last performed";
17512    }13140    }
17513    leaf aggregator-address {13141    leaf aggregator-address {
17514      type inet:ipv4-address;13142      type inet:ipv4-address;
17515      description13143      description
n17516        "Address where aggregation was performed ";n13144        "Address where aggregation was performed";
17517    }13145    }
17518    leaf metric {13146    leaf metric {
17519      type uint32;13147      type uint32;
17520      description13148      description
n17521        "Metric associated with BGP attribute ";n13149        "Metric";
17522    }13150    }
17523    leaf local-preference {13151    leaf local-preference {
17524      type uint32;13152      type uint32;
17525      description13153      description
n17526        "Flag to indicate BGP attribute is local";n13154        "Local preference";
17527    }13155    }
17528    leaf origin {13156    leaf origin {
17529      type uint16;13157      type uint16;
17530      description13158      description
n17531        "BGP common attribute Origin ";n13159        "Origin";
17532    }13160    }
17533    leaf as-path {13161    leaf as-path {
17534      type string;13162      type string;
17535      description13163      description
n17536        "BGP Atonomous system path attribute";n13164        "AS path attribute";
17537    }13165    }
17538    leaf extended-community-flags {13166    leaf extended-community-flags {
17539      type uint8;13167      type uint8;
17540      description13168      description
n17541        "BGP attribute Extended community Flags";n13169        "Extended community Flags";
17542    }13170    }
17543    leaf originator {13171    leaf originator {
17544      type inet:ipv4-address;13172      type inet:ipv4-address;
17545      description13173      description
17546        "Originator attribute";13174        "Originator attribute";
17547    }13175    }
17548    leaf l2tpv3-session-id {13176    leaf l2tpv3-session-id {
17549      type uint32;13177      type uint32;
17550      description13178      description
n17551        "BGP attribute Layer2 tunneling protocol versionn
17552         3 session id";13179        "L2TPv3 session id";
17553    }13180    }
17554    leaf connector-type {13181    leaf connector-type {
17555      type uint16;13182      type uint16;
17556      description13183      description
n17557        "BGP attribute Connector Type";n13184        "Connector Type";
17558    }13185    }
17559    leaf aigp-metric-value {13186    leaf aigp-metric-value {
17560      type uint64;13187      type uint64;
17561      description13188      description
17562        "AIGP metric value";13189        "AIGP metric value";
17563    }13190    }
17564    leaf pmsi-type {13191    leaf pmsi-type {
17565      type uint16;13192      type uint16;
17566      description13193      description
17567        "PMSI Type";13194        "PMSI Type";
17568    }13195    }
17569    leaf pmsi-flags {13196    leaf pmsi-flags {
17570      type uint8;13197      type uint8;
17571      description13198      description
17572        "PMSI Value";13199        "PMSI Value";
17573    }13200    }
17574    leaf pmsi-label {13201    leaf pmsi-label {
17575      type uint32;13202      type uint32;
17576      description13203      description
17577        "PMSI label";13204        "PMSI label";
17578    }13205    }
17579    leaf ppm-pvalue {13206    leaf ppm-pvalue {
17580      type uint32;13207      type uint32;
17581      description13208      description
17582        "PPMP Value";13209        "PPMP Value";
17583    }13210    }
17584    leaf is-large-community-present {13211    leaf is-large-community-present {
17585      type boolean;13212      type boolean;
17586      description13213      description
17587        "Large Community attribute present";13214        "Large Community attribute present";
17588    }13215    }
17589    list community {13216    list community {
17590      description13217      description
17591        "Community attribute";13218        "Community attribute";
17592      leaf entry {13219      leaf entry {
17593        type uint32;13220        type uint32;
17594        description13221        description
17595          "Community attribute";13222          "Community attribute";
17596      }13223      }
17597    }13224    }
17598    list extended-community {13225    list extended-community {
17599      description13226      description
17600        "Extended community attribute";13227        "Extended community attribute";
17601      leaf entry {13228      leaf entry {
17602        type uint8;13229        type uint8;
17603        description13230        description
17604          "Extended community attribute";13231          "Extended community attribute";
17605      }13232      }
17606    }13233    }
17607    list unknown-attribute {13234    list unknown-attribute {
17608      description13235      description
n17609        "BGP common set of unknown attributes ";n13236        "Unknown attributes";
17610      leaf entry {13237      leaf entry {
17611        type uint8;13238        type uint8;
17612        description13239        description
n17613          "BGP common set of unknown attributes ";n13240          "Unknown attributes";
17614      }13241      }
17615    }13242    }
17616    list cluster {13243    list cluster {
17617      description13244      description
17618        "Cluster list attribute";13245        "Cluster list attribute";
17619      leaf entry {13246      leaf entry {
17620        type uint32;13247        type uint32;
17621        description13248        description
17622          "Cluster list attribute";13249          "Cluster list attribute";
17623      }13250      }
17624    }13251    }
17625    list l2tpv3-cookie {13252    list l2tpv3-cookie {
17626      description13253      description
17627        "L2TPv3 Cookie";13254        "L2TPv3 Cookie";
17628      leaf entry {13255      leaf entry {
17629        type uint8;13256        type uint8;
17630        description13257        description
17631          "L2TPv3 Cookie";13258          "L2TPv3 Cookie";
17632      }13259      }
17633    }13260    }
17634    list connector-value {13261    list connector-value {
17635      description13262      description
n17636        "BGP attribute Connector Value";n13263        "Connector Value";
17637      leaf entry {13264      leaf entry {
17638        type uint8;13265        type uint8;
17639        description13266        description
n17640          "BGP attribute Connector Value";n13267          "Connector Value";
17641      }13268      }
17642    }13269    }
17643    list pmsi-value {13270    list pmsi-value {
17644      description13271      description
17645        "PMSI Value";13272        "PMSI Value";
17646      leaf entry {13273      leaf entry {
17647        type uint8;13274        type uint8;
17648        description13275        description
17649          "PMSI Value";13276          "PMSI Value";
17650      }13277      }
17651    }13278    }
17652    list ls-attr {13279    list ls-attr {
17653      description13280      description
17654        "BGP LS attribute";13281        "BGP LS attribute";
17655      leaf entry {13282      leaf entry {
17656        type uint8;13283        type uint8;
17657        description13284        description
17658          "BGP LS attribute";13285          "BGP LS attribute";
17659      }13286      }
17660    }13287    }
17661    list pe-distinguisher-label {13288    list pe-distinguisher-label {
17662      description13289      description
17663        "PE distinguisher label attribute";13290        "PE distinguisher label attribute";
17664      uses BGP-PEDISTLBL-ENTRY;13291      uses BGP-PEDISTLBL-ENTRY;
17665    }13292    }
n17666    list secondary-label {n
17667      description
17668        "Secondary label attribute";
17669      uses BGP-SECOND-LBL-ENTRY;
17670    }
17671    list large-community {13293    list large-community {
17672      description13294      description
17673        "Large Community attribute";13295        "Large Community attribute";
17674      uses BGP-BAG-LARGECOMM;13296      uses BGP-BAG-LARGECOMM;
17675    }13297    }
17676  }13298  }
1767713299
17678  grouping BGP-ATTR {13300  grouping BGP-ATTR {
17679    description13301    description
17680      "BGP Attributes";13302      "BGP Attributes";
17681    container common-attributes {13303    container common-attributes {
17682      description13304      description
n17683        "BGP entry to derive the attribute information";n13305        "Common attributes";
17684      uses BGP-COMMON-ATTR-ENTRY;13306      uses BGP-COMMON-ATTR-ENTRY;
17685    }13307    }
17686    container attr-set {13308    container attr-set {
17687      description13309      description
17688        "ATTR_SET attribute";13310        "ATTR_SET attribute";
17689      uses BGP-COMMON-ATTR-ENTRY;13311      uses BGP-COMMON-ATTR-ENTRY;
17690    }13312    }
17691    container rnh-addr {13313    container rnh-addr {
17692      description13314      description
17693        "RNH Address";13315        "RNH Address";
17694      uses BGP-ATTR-RNH-ADDR;13316      uses BGP-ATTR-RNH-ADDR;
17695    }13317    }
17696    container ribrnh-ip {13318    container ribrnh-ip {
17697      description13319      description
17698        "RIB RNH IP Address";13320        "RIB RNH IP Address";
17699      uses BGP-ADDRTYPE;13321      uses BGP-ADDRTYPE;
17700    }13322    }
17701    leaf is-as-path2-byte {13323    leaf is-as-path2-byte {
17702      type boolean;13324      type boolean;
17703      description13325      description
17704        "AS path encoded as 2-byte";13326        "AS path encoded as 2-byte";
17705    }13327    }
17706    leaf is-application-gateway-present {13328    leaf is-application-gateway-present {
17707      type boolean;13329      type boolean;
17708      description13330      description
n17709        "Flag to indicate if BGP application gateway isn13331        "Application gateway present";
17710         present";
17711    }13332    }
17712    leaf is-attr-set-present {13333    leaf is-attr-set-present {
17713      type boolean;13334      type boolean;
17714      description13335      description
17715        "BGP ATTR_SET attribute present";13336        "BGP ATTR_SET attribute present";
17716    }13337    }
17717    leaf set-aigp-inbound-igp {13338    leaf set-aigp-inbound-igp {
17718      type boolean;13339      type boolean;
17719      description13340      description
17720        "AIGP set by policy inbound IGP ";13341        "AIGP set by policy inbound IGP ";
17721    }13342    }
17722    leaf set-aigp-inbound-metric {13343    leaf set-aigp-inbound-metric {
17723      type boolean;13344      type boolean;
17724      description13345      description
17725        "AIGP set by policy inbound metric";13346        "AIGP set by policy inbound metric";
17726    }13347    }
17727    leaf is-rnh-present {13348    leaf is-rnh-present {
17728      type boolean;13349      type boolean;
17729      description13350      description
17730        "RNH Attribute  present";13351        "RNH Attribute  present";
17731    }13352    }
17732    leaf is-ribrnh-present {13353    leaf is-ribrnh-present {
17733      type boolean;13354      type boolean;
17734      description13355      description
17735        "RIB RNH Attribute  present";13356        "RIB RNH Attribute  present";
17736    }13357    }
17737    leaf attribute-key-number {13358    leaf attribute-key-number {
17738      type uint32;13359      type uint32;
17739      description13360      description
n17740        "Number which is stored per bgp routing table onn
17741         attribute key";13361        "Attribute key number";
17742    }13362    }
17743    leaf attribute-reuse-id-config {13363    leaf attribute-reuse-id-config {
17744      type boolean;13364      type boolean;
17745      description13365      description
17746        "Attribute reuse ID Configured";13366        "Attribute reuse ID Configured";
17747    }13367    }
17748    leaf attribute-reuse-id-max-id {13368    leaf attribute-reuse-id-max-id {
17749      type uint32;13369      type uint32;
17750      description13370      description
17751        "Attribute reuse ID maximum ID";13371        "Attribute reuse ID maximum ID";
17752    }13372    }
17753    leaf attribute-reuse-id-node {13373    leaf attribute-reuse-id-node {
17754      type uint32;13374      type uint32;
17755      description13375      description
n17756        "BGP Attribute reuse ID nodes";n13376        "Attribute reuse ID nodes";
17757    }13377    }
17758    leaf attribute-reuse-id-current {13378    leaf attribute-reuse-id-current {
17759      type uint32;13379      type uint32;
17760      description13380      description
n17761        "BGP Attribute reuse ID current ID";n13381        "Attribute reuse ID current ID";
17762    }13382    }
17763    leaf attribute-reuse-id-keys {13383    leaf attribute-reuse-id-keys {
17764      type uint32;13384      type uint32;
17765      description13385      description
17766        "Attribute reuse ID allocated keys";13386        "Attribute reuse ID allocated keys";
17767    }13387    }
17768    leaf attribute-reuse-id-recover-sec {13388    leaf attribute-reuse-id-recover-sec {
17769      type uint32;13389      type uint32;
17770      units "second";13390      units "second";
17771      description13391      description
17772        "Attribute reuse ID timer in seconds";13392        "Attribute reuse ID timer in seconds";
17773    }13393    }
17774    leaf vpn-distinguisher {13394    leaf vpn-distinguisher {
17775      type uint32;13395      type uint32;
17776      description13396      description
17777        "VPN Distinguisher";13397        "VPN Distinguisher";
17778    }13398    }
17779    leaf rnh-type {13399    leaf rnh-type {
17780      type uint16;13400      type uint16;
17781      description13401      description
17782        "RNH Type";13402        "RNH Type";
17783    }13403    }
17784    leaf rnh-len {13404    leaf rnh-len {
17785      type uint8;13405      type uint8;
17786      description13406      description
17787        "RNH Length";13407        "RNH Length";
17788    }13408    }
17789    leaf rnh-addr-len {13409    leaf rnh-addr-len {
17790      type uint32;13410      type uint32;
17791      description13411      description
17792        "RNH Address Length";13412        "RNH Address Length";
17793    }13413    }
17794    leaf ribrnh-table {13414    leaf ribrnh-table {
17795      type uint32;13415      type uint32;
17796      description13416      description
17797        "RIB RNH Table";13417        "RIB RNH Table";
17798    }13418    }
17799    leaf ribrnh-mac {13419    leaf ribrnh-mac {
17800      type Mac-address;13420      type Mac-address;
17801      description13421      description
17802        "RIB RNH MAC Address";13422        "RIB RNH MAC Address";
17803    }13423    }
17804    leaf ribrnhip-table {13424    leaf ribrnhip-table {
17805      type uint32;13425      type uint32;
17806      description13426      description
17807        "RIB RNH IP Table";13427        "RIB RNH IP Table";
17808    }13428    }
17809    leaf ribrnh-vni {13429    leaf ribrnh-vni {
17810      type uint32;13430      type uint32;
17811      description13431      description
17812        "RIB RNH Vni";13432        "RIB RNH Vni";
17813    }13433    }
17814    leaf ribrnh-encap {13434    leaf ribrnh-encap {
17815      type uint8;13435      type uint8;
17816      description13436      description
17817        "RIB RNH Encapsulation Type";13437        "RIB RNH Encapsulation Type";
17818    }13438    }
n17819    leaf entropy-label-capability {n
17820      type boolean;
17821      description
17822        "Entropy label Capability";
17823    }
17824  }13439  }
1782513440
17826  grouping BGP-ADVINFO-TYPE {13441  grouping BGP-ADVINFO-TYPE {
17827    description13442    description
17828      "Peers being advertised to";13443      "Peers being advertised to";
17829    container neighbor-address {13444    container neighbor-address {
17830      description13445      description
n17831        "BGP advertised neighbor Address";n13446        "Neighbor Address";
17832      uses BGP-ADDRTYPE;13447      uses BGP-ADDRTYPE;
17833    }13448    }
17834    leaf is-neighbor {13449    leaf is-neighbor {
17835      type boolean;13450      type boolean;
17836      description13451      description
17837        "Entry is a neighbor (not an update group)";13452        "Entry is a neighbor (not an update group)";
17838    }13453    }
17839    leaf update-group-afi {13454    leaf update-group-afi {
17840      type uint8;13455      type uint8;
17841      description13456      description
17842        "AFI of the Update group it is advertised to";13457        "AFI of the Update group it is advertised to";
17843    }13458    }
17844    leaf update-group-number {13459    leaf update-group-number {
17845      type uint32;13460      type uint32;
17846      description13461      description
17847        "Update group index";13462        "Update group index";
17848    }13463    }
17849  }13464  }
1785013465
17851  grouping BGP-V4-V6 {13466  grouping BGP-V4-V6 {
17852    description13467    description
n17853      "The length of the BGP address";n13468      "BGP V4 V6";
17854    leaf len {13469    leaf len {
17855      type Bgp-v4-v6-len;13470      type Bgp-v4-v6-len;
17856      description13471      description
17857        "len";13472        "len";
17858    }13473    }
17859    leaf ipv4-address {13474    leaf ipv4-address {
17860      when "../len = 'gwipv4'" {13475      when "../len = 'gwipv4'" {
17861        description13476        description
17862          "../len = 'gwipv4'";13477          "../len = 'gwipv4'";
17863      }13478      }
17864      type inet:ipv4-address;13479      type inet:ipv4-address;
17865      description13480      description
17866        "IPv4 Addr";13481        "IPv4 Addr";
17867    }13482    }
17868    leaf ipv6-address {13483    leaf ipv6-address {
17869      when "../len = 'gwipv6'" {13484      when "../len = 'gwipv6'" {
17870        description13485        description
17871          "../len = 'gwipv6'";13486          "../len = 'gwipv6'";
17872      }13487      }
17873      type Ipv6-address;13488      type Ipv6-address;
17874      description13489      description
17875        "IPv6 Addr";13490        "IPv6 Addr";
17876    }13491    }
17877  }13492  }
1787813493
17879  grouping BGP-TE-TUNNEL {13494  grouping BGP-TE-TUNNEL {
17880    description13495    description
17881      "BGP TE TUNNEL";13496      "BGP TE TUNNEL";
17882    leaf tunnel-type {13497    leaf tunnel-type {
17883      type Bgp-tunnel;13498      type Bgp-tunnel;
17884      description13499      description
17885        "Nexthop Tunnel Type";13500        "Nexthop Tunnel Type";
17886    }13501    }
17887    leaf tunnel-name {13502    leaf tunnel-name {
17888      type string;13503      type string;
17889      description13504      description
17890        "Tunnel name attribute";13505        "Tunnel name attribute";
17891    }13506    }
17892    leaf is-tunnel-up {13507    leaf is-tunnel-up {
17893      type boolean;13508      type boolean;
17894      description13509      description
17895        "Tunnel Up flag";13510        "Tunnel Up flag";
17896    }13511    }
17897    leaf is-tunnel-info-stale {13512    leaf is-tunnel-info-stale {
17898      type boolean;13513      type boolean;
17899      description13514      description
17900        "Tunnel is stale";13515        "Tunnel is stale";
17901    }13516    }
17902    leaf is-tunnel-registered {13517    leaf is-tunnel-registered {
17903      type boolean;13518      type boolean;
17904      description13519      description
17905        "Tunnel registered flag";13520        "Tunnel registered flag";
17906    }13521    }
17907    leaf is-bgp-te-registered {13522    leaf is-bgp-te-registered {
17908      type boolean;13523      type boolean;
17909      description13524      description
17910        "BGPTE registered flag";13525        "BGPTE registered flag";
17911    }13526    }
17912    leaf tunnel-v6-required {13527    leaf tunnel-v6-required {
17913      type boolean;13528      type boolean;
17914      description13529      description
17915        "Tunnel need IPv6";13530        "Tunnel need IPv6";
17916    }13531    }
17917    leaf tunnel-v6-enabled {13532    leaf tunnel-v6-enabled {
17918      type boolean;13533      type boolean;
17919      description13534      description
17920        "IPv6 enabled";13535        "IPv6 enabled";
17921    }13536    }
17922    leaf tunnel-notif-first-rcvd {13537    leaf tunnel-notif-first-rcvd {
17923      type boolean;13538      type boolean;
17924      description13539      description
17925        "Tunnel first notif received";13540        "Tunnel first notif received";
17926    }13541    }
17927    leaf tunnel-state-skip-reg {13542    leaf tunnel-state-skip-reg {
17928      type boolean;13543      type boolean;
17929      description13544      description
17930        "Skip tunnel registration for Stale entry";13545        "Skip tunnel registration for Stale entry";
17931    }13546    }
17932    leaf binding-label {13547    leaf binding-label {
17933      type uint32;13548      type uint32;
17934      description13549      description
17935        "Binding label for the tunnel";13550        "Binding label for the tunnel";
17936    }13551    }
17937    leaf tunnel-if-handle {13552    leaf tunnel-if-handle {
17938      type uint32;13553      type uint32;
17939      description13554      description
17940        "Interface handle for the tunnel";13555        "Interface handle for the tunnel";
17941    }13556    }
17942    leaf last-tunnel-update {13557    leaf last-tunnel-update {
17943      type uint32;13558      type uint32;
17944      description13559      description
17945        "Time since the last tunnel update happened";13560        "Time since the last tunnel update happened";
17946    }13561    }
17947    leaf tunnel-color {13562    leaf tunnel-color {
17948      type uint32;13563      type uint32;
17949      description13564      description
17950        "Color corresponding to this SR tunnel";13565        "Color corresponding to this SR tunnel";
17951    }13566    }
n17952    leaf has-tunnel-metric {n
17953      type boolean;
17954      description
17955        "This SR-TE tunnel has an admin distance/metric";
17956    }
17957    leaf tunnel-metric-ad {
17958      type uint32;
17959      description
17960        "Metric admin distance corresponding to this SR
17961         tunnel";
17962    }
17963    leaf tunnel-metric-value {
17964      type uint32;
17965      description
17966        "Metric value corresponding to this SR tunnel";
17967    }
17968    leaf is-tunnel-color-only {13567    leaf is-tunnel-color-only {
17969      type boolean;13568      type boolean;
17970      description13569      description
17971        "Is a Color Only (Null Endpoint) tunnel";13570        "Is a Color Only (Null Endpoint) tunnel";
17972    }13571    }
17973    leaf tunnel-endpoint-afi {13572    leaf tunnel-endpoint-afi {
17974      type Bgp-afi;13573      type Bgp-afi;
17975      description13574      description
17976        "AFI of the Null Endpoint (IPv4/IPv6)";13575        "AFI of the Null Endpoint (IPv4/IPv6)";
17977    }13576    }
17978    leaf flags {13577    leaf flags {
17979      type uint32;13578      type uint32;
17980      description13579      description
17981        "SR Tunnel specific flags ";13580        "SR Tunnel specific flags ";
17982    }13581    }
n17983    leaf haveu-srv6-bsid {n
17984      type boolean;
17985      description
17986        "SRv6 BSID for tunnel present";
17987    }
17988    leaf srv6u-bsid-address {
17989      type Ipv6-address;
17990      description
17991        "SRv6 uBSID address value";
17992    }
17993    leaf prefix-path-label-ignore {
17994      type boolean;
17995      description
17996        "BGP steering over SR-Policy with
17997         prefix-path-label ignore";
17998    }
17999    leaf sr-policy-segment-list-type {
18000      type Bgp-policy-sl;
18001      description
18002        "SR-Policy Segment-List type";
18003    }
18004  }13582  }
1800513583
18006  grouping BGP-PREFIXTYPE {13584  grouping BGP-PREFIXTYPE {
18007    description13585    description
18008      "BGP PREFIXTYPE";13586      "BGP PREFIXTYPE";
18009    container prefix {13587    container prefix {
18010      description13588      description
n18011        "The Prefix from whichto get the address";n13589        "Prefix";
18012      uses BGP-ADDRTYPE;13590      uses BGP-ADDRTYPE;
18013    }13591    }
18014    leaf prefix-length {13592    leaf prefix-length {
18015      type uint16;13593      type uint16;
18016      description13594      description
n18017        "BGP prefix length of the route";n13595        "Prefix length";
18018    }13596    }
18019  }13597  }
1802013598
18021  grouping BGP-PATH {13599  grouping BGP-PATH {
18022    description13600    description
18023      "BGP Path";13601      "BGP Path";
18024    container bgp-prefix {13602    container bgp-prefix {
18025      description13603      description
18026        "BGP prefix";13604        "BGP prefix";
18027      uses BGP-PREFIXTYPE;13605      uses BGP-PREFIXTYPE;
18028    }13606    }
18029    container neighbor-address {13607    container neighbor-address {
18030      description13608      description
n18031        "Neighbor address specified in BGP path";n13609        "Neighbor address";
18032      uses BGP-ADDRTYPE;13610      uses BGP-ADDRTYPE;
18033    }13611    }
18034    container next-hop {13612    container next-hop {
18035      description13613      description
n18036        "BGP Next hop information";n13614        "Next hop";
18037      uses BGP-ADDRTYPE;13615      uses BGP-ADDRTYPE;
18038    }13616    }
18039    container nh-tunnel {13617    container nh-tunnel {
18040      description13618      description
n18041        "Next hop tunnel information";n13619        "NH tunnel information";
18042      uses BGP-TE-TUNNEL;13620      uses BGP-TE-TUNNEL;
18043    }13621    }
18044    container mdt-group-addr {13622    container mdt-group-addr {
18045      description13623      description
18046        "IPv4 MDT Group Address for the path";13624        "IPv4 MDT Group Address for the path";
18047      uses BGP-ADDRTYPE;13625      uses BGP-ADDRTYPE;
18048    }13626    }
18049    container gw-addr {13627    container gw-addr {
18050      description13628      description
18051        "Path GW Address";13629        "Path GW Address";
18052      uses BGP-V4-V6;13630      uses BGP-V4-V6;
18053    }13631    }
18054    container nh-addr {13632    container nh-addr {
18055      description13633      description
18056        "Path next-hop Address";13634        "Path next-hop Address";
18057      uses BGP-V4-V6;13635      uses BGP-V4-V6;
18058    }13636    }
18059    container best-path-comp-winner {13637    container best-path-comp-winner {
18060      description13638      description
18061        "Neighbor address of the path which won best path13639        "Neighbor address of the path which won best path
18062         comparison";13640         comparison";
18063      uses BGP-ADDRTYPE;13641      uses BGP-ADDRTYPE;
18064    }13642    }
18065    container mvpn-nbr-addr {13643    container mvpn-nbr-addr {
18066      description13644      description
18067        "Mvpn nbr Address for the path";13645        "Mvpn nbr Address for the path";
18068      uses BGP-ADDRTYPE;13646      uses BGP-ADDRTYPE;
18069    }13647    }
18070    container mvpn-nexthop-addr {13648    container mvpn-nexthop-addr {
18071      description13649      description
18072        "Mvpn nexthop Address for the path";13650        "Mvpn nexthop Address for the path";
18073      uses BGP-ADDRTYPE;13651      uses BGP-ADDRTYPE;
18074    }13652    }
18075    container vpn-nexthop-addr {13653    container vpn-nexthop-addr {
18076      description13654      description
18077        "Vpn nexthop Address for the path";13655        "Vpn nexthop Address for the path";
18078      uses BGP-ADDRTYPE;13656      uses BGP-ADDRTYPE;
18079    }13657    }
n18080    container evpn-imet-pmsi-nexthop-addr {n
18081      description
18082        "EVPN IMET PMSI Originator Nexthop Address";
18083      uses BGP-ADDRTYPE;
18084    }
18085    leaf route-type {13658    leaf route-type {
18086      type Bgp-route1;13659      type Bgp-route1;
18087      description13660      description
18088        "Route Type of path";13661        "Route Type of path";
18089    }13662    }
18090    leaf is-path-valid {13663    leaf is-path-valid {
18091      type boolean;13664      type boolean;
18092      description13665      description
n18093        "Flag to indicate if BGP path attributes aren13666        "Path attributes are usable";
18094         usable";
18095    }13667    }
18096    leaf is-path-damped {13668    leaf is-path-damped {
18097      type boolean;13669      type boolean;
18098      description13670      description
n18099        "Flag to indicate if Path suppressed due ton13671        "Path suppressed due to dampening";
18100         dampening";
18101    }13672    }
18102    leaf is-path-history-held {13673    leaf is-path-history-held {
18103      type boolean;13674      type boolean;
18104      description13675      description
18105        "Path entry held to remember history";13676        "Path entry held to remember history";
18106    }13677    }
18107    leaf is-internal-path {13678    leaf is-internal-path {
18108      type boolean;13679      type boolean;
18109      description13680      description
18110        "Received over an internal link";13681        "Received over an internal link";
18111    }13682    }
18112    leaf is-best-path {13683    leaf is-best-path {
18113      type boolean;13684      type boolean;
18114      description13685      description
18115        "Best available path";13686        "Best available path";
18116    }13687    }
18117    leaf is-as-best {13688    leaf is-as-best {
18118      type boolean;13689      type boolean;
18119      description13690      description
18120        "Best available path within AS";13691        "Best available path within AS";
18121    }13692    }
18122    leaf is-spkr-as-best {13693    leaf is-spkr-as-best {
18123      type boolean;13694      type boolean;
18124      description13695      description
18125        "Best available path within AS in speaker";13696        "Best available path within AS in speaker";
18126    }13697    }
18127    leaf is-partial-best {13698    leaf is-partial-best {
18128      type boolean;13699      type boolean;
18129      description13700      description
18130        "Partial best path within distributed speaker";13701        "Partial best path within distributed speaker";
18131    }13702    }
18132    leaf is-aggregation-suppressed {13703    leaf is-aggregation-suppressed {
18133      type boolean;13704      type boolean;
18134      description13705      description
18135        "Path suppressed due to aggregation";13706        "Path suppressed due to aggregation";
18136    }13707    }
18137    leaf is-import-dampened {13708    leaf is-import-dampened {
18138      type boolean;13709      type boolean;
18139      description13710      description
n18140        "Flag to indicate if BGP path net import isn
18141         dampened";13711        "net import dampened";
18142    }13712    }
18143    leaf is-import-suspect {13713    leaf is-import-suspect {
18144      type boolean;13714      type boolean;
18145      description13715      description
n18146        "Flag to indicate if BGP path net import isn
18147         suspect";13716        "net import suspect";
18148    }13717    }
18149    leaf is-path-not-advertised {13718    leaf is-path-not-advertised {
18150      type boolean;13719      type boolean;
18151      description13720      description
n18152        "Flag to indicate if path is not advertised ton13721        "Not advertised to any peer";
18153         any peer";
18154    }13722    }
18155    leaf is-path-not-advertised-to-ebgp {13723    leaf is-path-not-advertised-to-ebgp {
18156      type boolean;13724      type boolean;
18157      description13725      description
18158        "Not advertised to EBGPs";13726        "Not advertised to EBGPs";
18159    }13727    }
18160    leaf is-path-advertised-local-as-only {13728    leaf is-path-advertised-local-as-only {
18161      type boolean;13729      type boolean;
18162      description13730      description
18163        "Not advertised outside local AS";13731        "Not advertised outside local AS";
18164    }13732    }
18165    leaf is-path-from-route-reflector {13733    leaf is-path-from-route-reflector {
18166      type boolean;13734      type boolean;
18167      description13735      description
18168        "Path received from route reflector";13736        "Path received from route reflector";
18169    }13737    }
18170    leaf is-path-received-only {13738    leaf is-path-received-only {
18171      type boolean;13739      type boolean;
18172      description13740      description
n18173        "Flag to indicate if BGP Path is received only";n13741        "Path is received only";
18174    }13742    }
18175    leaf is-received-path-not-modified {13743    leaf is-received-path-not-modified {
18176      type boolean;13744      type boolean;
18177      description13745      description
n18178        "Flag to indicate if received path is usedn
18179         without modification";13746        "Received path used without modification";
18180    }13747    }
18181    leaf is-path-locally-sourced {13748    leaf is-path-locally-sourced {
18182      type boolean;13749      type boolean;
18183      description13750      description
18184        "Path sourced locally";13751        "Path sourced locally";
18185    }13752    }
18186    leaf is-path-local-aggregate {13753    leaf is-path-local-aggregate {
18187      type boolean;13754      type boolean;
18188      description13755      description
18189        "Path is a locally created aggregate";13756        "Path is a locally created aggregate";
18190    }13757    }
18191    leaf is-path-from-network-command {13758    leaf is-path-from-network-command {
18192      type boolean;13759      type boolean;
18193      description13760      description
18194        "Path sourced by network command";13761        "Path sourced by network command";
18195    }13762    }
18196    leaf is-path-from-redistribute-command {13763    leaf is-path-from-redistribute-command {
18197      type boolean;13764      type boolean;
18198      description13765      description
18199        "Path sourced by redistribute command";13766        "Path sourced by redistribute command";
18200    }13767    }
18201    leaf is-path-imported {13768    leaf is-path-imported {
18202      type boolean;13769      type boolean;
18203      description13770      description
18204        "Path is imported";13771        "Path is imported";
18205    }13772    }
18206    leaf is-path-reoriginated {13773    leaf is-path-reoriginated {
18207      type boolean;13774      type boolean;
18208      description13775      description
18209        "Path is reoriginated";13776        "Path is reoriginated";
18210    }13777    }
18211    leaf is-path-reoriginated-stitching {13778    leaf is-path-reoriginated-stitching {
18212      type boolean;13779      type boolean;
18213      description13780      description
18214        "Path is reoriginated with stitching RTs";13781        "Path is reoriginated with stitching RTs";
18215    }13782    }
18216    leaf is-path-vpn-only {13783    leaf is-path-vpn-only {
18217      type boolean;13784      type boolean;
18218      description13785      description
18219        "Path is not in the vrf";13786        "Path is not in the vrf";
18220    }13787    }
18221    leaf is-path-from-confederation-peer {13788    leaf is-path-from-confederation-peer {
18222      type boolean;13789      type boolean;
18223      description13790      description
18224        "Path received from confederation peer";13791        "Path received from confederation peer";
18225    }13792    }
18226    leaf is-path-synced-with-igp {13793    leaf is-path-synced-with-igp {
18227      type boolean;13794      type boolean;
18228      description13795      description
18229        "Path synchronized with IGP";13796        "Path synchronized with IGP";
18230    }13797    }
18231    leaf is-path-multipath {13798    leaf is-path-multipath {
18232      type boolean;13799      type boolean;
18233      description13800      description
18234        "Path is one of multipath best routes";13801        "Path is one of multipath best routes";
18235    }13802    }
18236    leaf is-path-imp-candidate {13803    leaf is-path-imp-candidate {
18237      type boolean;13804      type boolean;
18238      description13805      description
18239        "Path is a candidate for multipath import";13806        "Path is a candidate for multipath import";
18240    }13807    }
18241    leaf is-path-stale {13808    leaf is-path-stale {
18242      type boolean;13809      type boolean;
18243      description13810      description
18244        "Stale routes learnt before neighbor restarts";13811        "Stale routes learnt before neighbor restarts";
18245    }13812    }
18246    leaf is-path-long-lived-stale {13813    leaf is-path-long-lived-stale {
18247      type boolean;13814      type boolean;
18248      description13815      description
18249        "Long lived stale routes learnt before neighbor13816        "Long lived stale routes learnt before neighbor
18250         restarts";13817         restarts";
18251    }13818    }
18252    leaf is-path-backup {13819    leaf is-path-backup {
18253      type boolean;13820      type boolean;
18254      description13821      description
18255        "Path is a backup path ";13822        "Path is a backup path ";
18256    }13823    }
18257    leaf is-path-backup-protect-multipath {13824    leaf is-path-backup-protect-multipath {
18258      type boolean;13825      type boolean;
18259      description13826      description
18260        "Path is a backup path to protect multipaths";13827        "Path is a backup path to protect multipaths";
18261    }13828    }
18262    leaf is-path-best-external {13829    leaf is-path-best-external {
18263      type boolean;13830      type boolean;
18264      description13831      description
18265        "Path is a best external path";13832        "Path is a best external path";
18266    }13833    }
18267    leaf is-path-additional-path {13834    leaf is-path-additional-path {
18268      type boolean;13835      type boolean;
18269      description13836      description
n18270        "Flag to indicate BGP Path is an additional-path";n13837        "Path is an additional-path";
18271    }13838    }
18272    leaf is-path-nexthop-discarded {13839    leaf is-path-nexthop-discarded {
18273      type boolean;13840      type boolean;
18274      description13841      description
18275        "Path is redirected to Null0";13842        "Path is redirected to Null0";
18276    }13843    }
18277    leaf has-local-net-label {13844    leaf has-local-net-label {
18278      type boolean;13845      type boolean;
18279      description13846      description
18280        "Path has local label";13847        "Path has local label";
18281    }13848    }
18282    leaf local-label {13849    leaf local-label {
18283      type uint32;13850      type uint32;
18284      description13851      description
n18285        " BGP Path local label";n13852        "Path local label";
18286    }13853    }
18287    leaf igp-metric {13854    leaf igp-metric {
18288      type uint32;13855      type uint32;
18289      description13856      description
18290        "IGP metric to the gateway";13857        "IGP metric to the gateway";
18291    }13858    }
18292    leaf path-weight {13859    leaf path-weight {
18293      type uint16;13860      type uint16;
18294      description13861      description
18295        "Weight for the path";13862        "Weight for the path";
18296    }13863    }
18297    leaf neighbor-router-id {13864    leaf neighbor-router-id {
18298      type inet:ipv4-address;13865      type inet:ipv4-address;
18299      description13866      description
18300        "Router ID of the neighbor for the path";13867        "Router ID of the neighbor for the path";
18301    }13868    }
18302    leaf has-mdt-group-addr {13869    leaf has-mdt-group-addr {
18303      type boolean;13870      type boolean;
18304      description13871      description
18305        "Path has MDT Group Address";13872        "Path has MDT Group Address";
18306    }13873    }
18307    leaf l2vpn-size {13874    leaf l2vpn-size {
18308      type uint32;13875      type uint32;
18309      description13876      description
18310        "Path block size";13877        "Path block size";
18311    }13878    }
18312    leaf l2vpn-evpn-esi {13879    leaf l2vpn-evpn-esi {
18313      type string;13880      type string;
18314      description13881      description
18315        "L2VPN EVPN ESI";13882        "L2VPN EVPN ESI";
18316    }13883    }
18317    leaf evpn-path-flags {13884    leaf evpn-path-flags {
18318      type uint32;13885      type uint32;
18319      description13886      description
18320        "L2VPN EVPN Path flags";13887        "L2VPN EVPN Path flags";
18321    }13888    }
18322    leaf has-gw-addr {13889    leaf has-gw-addr {
18323      type boolean;13890      type boolean;
18324      description13891      description
18325        "Path has GW Address";13892        "Path has GW Address";
18326    }13893    }
18327    leaf has-nh-addr {13894    leaf has-nh-addr {
18328      type boolean;13895      type boolean;
18329      description13896      description
18330        "Path has next-hop Address";13897        "Path has next-hop Address";
18331    }13898    }
n18332    leaf nexthop-interface-handle {n
18333      type uint32;
18334      description
18335        "Interface Handle of Nexthop";
18336    }
18337    leaf has-second-label {13899    leaf has-second-label {
18338      type boolean;13900      type boolean;
18339      description13901      description
18340        "Path has second received label";13902        "Path has second received label";
18341    }13903    }
18342    leaf second-label {13904    leaf second-label {
18343      type uint32;13905      type uint32;
18344      description13906      description
18345        "Path second received label";13907        "Path second received label";
18346    }13908    }
18347    leaf path-flap-count {13909    leaf path-flap-count {
18348      type uint32;13910      type uint32;
18349      description13911      description
18350        "Number of times this route has flapped";13912        "Number of times this route has flapped";
18351    }13913    }
18352    leaf seconds-since-first-flap {13914    leaf seconds-since-first-flap {
18353      type uint32;13915      type uint32;
18354      units "second";13916      units "second";
18355      description13917      description
n18356        "BGP damp info in seconds, since first routen13918        "Seconds since route first flapped";
18357         flapped";
18358    }13919    }
18359    leaf time-to-unsuppress {13920    leaf time-to-unsuppress {
18360      type uint32;13921      type uint32;
18361      units "second";13922      units "second";
18362      description13923      description
18363        "Seconds until route is unsuppressed";13924        "Seconds until route is unsuppressed";
18364    }13925    }
18365    leaf dampen-penalty {13926    leaf dampen-penalty {
18366      type uint32;13927      type uint32;
18367      description13928      description
n18368        "BGP Dampening penalty";n13929        "Dampening penalty";
18369    }13930    }
18370    leaf halflife-time {13931    leaf halflife-time {
18371      type uint32;13932      type uint32;
18372      description13933      description
18373        "Half-life time for the penalty";13934        "Half-life time for the penalty";
18374    }13935    }
18375    leaf suppress-penalty {13936    leaf suppress-penalty {
18376      type uint32;13937      type uint32;
18377      description13938      description
18378        "Value to start suppressing a route";13939        "Value to start suppressing a route";
18379    }13940    }
18380    leaf reuse-value {13941    leaf reuse-value {
18381      type uint32;13942      type uint32;
18382      description13943      description
18383        "Value to start reusing a route";13944        "Value to start reusing a route";
18384    }13945    }
18385    leaf maximum-suppress-time {13946    leaf maximum-suppress-time {
18386      type uint32;13947      type uint32;
18387      description13948      description
18388        "Maximum duration to suppress a stable route";13949        "Maximum duration to suppress a stable route";
18389    }13950    }
18390    leaf best-path-comp-stage {13951    leaf best-path-comp-stage {
18391      type Bgp-bp-stage;13952      type Bgp-bp-stage;
18392      description13953      description
18393        "Stage where the path lost to the best path or13954        "Stage where the path lost to the best path or
18394         group best";13955         group best";
18395    }13956    }
18396    leaf best-path-id-comp-winner {13957    leaf best-path-id-comp-winner {
18397      type uint32;13958      type uint32;
18398      description13959      description
18399        "Path ID of the path which won best path13960        "Path ID of the path which won best path
18400         comparison";13961         comparison";
18401    }13962    }
18402    leaf path-flags {13963    leaf path-flags {
18403      type uint64;13964      type uint64;
18404      description13965      description
18405        "Flags associated with path";13966        "Flags associated with path";
18406    }13967    }
n18407    leaf path-flags2 {n
18408      type uint32;
18409      description
18410        "Flags2 associated with path";
18411    }
18412    leaf path-import-flags {13968    leaf path-import-flags {
18413      type uint32;13969      type uint32;
18414      description13970      description
n18415        "Flags to indicate for import processing in BGP";n13971        "Path import flags";
18416    }13972    }
18417    leaf best-path-id {13973    leaf best-path-id {
18418      type uint32;13974      type uint32;
18419      description13975      description
n18420        "Best path ID; DEPRECATED BY LocalPathId";n13976        "Best path ID; DEPRECATED BYLocalPathId";
18421    }13977    }
18422    leaf local-path-id {13978    leaf local-path-id {
18423      type uint32;13979      type uint32;
18424      description13980      description
18425        "Local path ID";13981        "Local path ID";
18426    }13982    }
18427    leaf rcvd-path-id {13983    leaf rcvd-path-id {
18428      type uint32;13984      type uint32;
18429      description13985      description
18430        "Received path ID";13986        "Received path ID";
18431    }13987    }
18432    leaf path-table-version {13988    leaf path-table-version {
n18433      type uint64;n13989      type uint32;
18434      description13990      description
18435        "Table version # for pelem";13991        "Table version # for pelem";
18436    }13992    }
18437    leaf advertisedto-pe {13993    leaf advertisedto-pe {
18438      type boolean;13994      type boolean;
18439      description13995      description
n18440        "Net could be advertised to PE peers";n13996        "Net could be advertised
13997         to PE peers";
18441    }13998    }
18442    leaf rib-failed {13999    leaf rib-failed {
18443      type boolean;14000      type boolean;
18444      description14001      description
n18445        "Is net failed installed in RIB";n14002        "Is net failed installed
14003         in RIB";
18446    }14004    }
18447    leaf sn-rpki-origin-as-validity {14005    leaf sn-rpki-origin-as-validity {
18448      type uint8;14006      type uint8;
18449      description14007      description
18450        "RPKI origin validation state";14008        "RPKI origin validation state";
18451    }14009    }
18452    leaf show-rpki-origin-as-validity {14010    leaf show-rpki-origin-as-validity {
18453      type boolean;14011      type boolean;
18454      description14012      description
18455        "Display validity state ?";14013        "Display validity state ?";
18456    }14014    }
18457    leaf ibgp-signaled-validity {14015    leaf ibgp-signaled-validity {
18458      type boolean;14016      type boolean;
18459      description14017      description
18460        "IBGP signalled validation";14018        "IBGP signalled validation";
18461    }14019    }
18462    leaf rpki-origin-as-validation-disabled {14020    leaf rpki-origin-as-validation-disabled {
18463      type boolean;14021      type boolean;
18464      description14022      description
18465        "RPKI originAS V. Disabled";14023        "RPKI originAS V. Disabled";
18466    }14024    }
18467    leaf accept-own-path {14025    leaf accept-own-path {
18468      type boolean;14026      type boolean;
18469      description14027      description
18470        "Accept Own";14028        "Accept Own";
18471    }14029    }
18472    leaf accept-own-self-originated-path {14030    leaf accept-own-self-originated-path {
18473      type boolean;14031      type boolean;
18474      description14032      description
n18475        "Flag to indicate if BGP path is Accept-Ownn14033        "Accept-Own self-originated";
18476         community and self-originated";
18477    }14034    }
18478    leaf aigp-metric {14035    leaf aigp-metric {
18479      type uint64;14036      type uint64;
18480      description14037      description
18481        "Total AIGP metric";14038        "Total AIGP metric";
18482    }14039    }
18483    leaf mvpn-sfs-path {14040    leaf mvpn-sfs-path {
18484      type boolean;14041      type boolean;
18485      description14042      description
n18486        "Flag to indicate if MVPN single forwarder PEn14043        "Is MVPN single forwarder PE path";
18487         path";
18488    }14044    }
18489    leaf fspec-invalid-path {14045    leaf fspec-invalid-path {
18490      type boolean;14046      type boolean;
18491      description14047      description
n18492        "Flag to indicate if path is invalidated byn14048        "Is Fspec invalid path";
18493         flow-spec rules";
18494    }14049    }
18495    leaf has-mvpn-nbr-addr {14050    leaf has-mvpn-nbr-addr {
18496      type boolean;14051      type boolean;
18497      description14052      description
18498        "Path has Mvpn nbr Address";14053        "Path has Mvpn nbr Address";
18499    }14054    }
18500    leaf has-mvpn-nexthop-addr {14055    leaf has-mvpn-nexthop-addr {
18501      type boolean;14056      type boolean;
18502      description14057      description
18503        "Path has MVPN nexthop Address";14058        "Path has MVPN nexthop Address";
18504    }14059    }
18505    leaf has-mvpn-pmsi {14060    leaf has-mvpn-pmsi {
18506      type boolean;14061      type boolean;
18507      description14062      description
18508        "Path has MVPN PMSI feedback";14063        "Path has MVPN PMSI feedback";
18509    }14064    }
18510    leaf mvpn-pmsi-type {14065    leaf mvpn-pmsi-type {
18511      type uint16;14066      type uint16;
18512      description14067      description
18513        "Mvpn PMSI Type";14068        "Mvpn PMSI Type";
18514    }14069    }
18515    leaf mvpn-pmsi-flags {14070    leaf mvpn-pmsi-flags {
18516      type uint8;14071      type uint8;
18517      description14072      description
18518        "Mvpn PMSI Value";14073        "Mvpn PMSI Value";
18519    }14074    }
18520    leaf mvpn-pmsi-label {14075    leaf mvpn-pmsi-label {
18521      type uint32;14076      type uint32;
18522      description14077      description
18523        "Mvpn PMSI label";14078        "Mvpn PMSI label";
18524    }14079    }
18525    leaf has-mvpn-extcomm {14080    leaf has-mvpn-extcomm {
18526      type boolean;14081      type boolean;
18527      description14082      description
18528        "Path has MVPN EXTCOMM feedback";14083        "Path has MVPN EXTCOMM feedback";
18529    }14084    }
18530    leaf mvpn-path-flags {14085    leaf mvpn-path-flags {
18531      type uint16;14086      type uint16;
18532      description14087      description
n18533        "Multicast Virtual Private Networks specific pathn14088        "Mvpn path flags";
18534         info";
18535    }14089    }
18536    leaf local-nh {14090    leaf local-nh {
18537      type boolean;14091      type boolean;
18538      description14092      description
18539        "Path has local nexthop";14093        "Path has local nexthop";
18540    }14094    }
18541    leaf rt-set-limit-enabled {14095    leaf rt-set-limit-enabled {
18542      type boolean;14096      type boolean;
18543      description14097      description
18544        "Path subject to RT-set net limit";14098        "Path subject to RT-set net limit";
18545    }14099    }
18546    leaf path-rt-set-id {14100    leaf path-rt-set-id {
18547      type uint32;14101      type uint32;
18548      description14102      description
18549        "RT-set id of the path";14103        "RT-set id of the path";
18550    }14104    }
18551    leaf path-rt-set-route-count {14105    leaf path-rt-set-route-count {
18552      type uint32;14106      type uint32;
18553      description14107      description
18554        "Count in RT-set";14108        "Count in RT-set";
18555    }14109    }
18556    leaf is-path-af-install-eligible {14110    leaf is-path-af-install-eligible {
18557      type boolean;14111      type boolean;
18558      description14112      description
18559        "Path can be installed in AF RIB";14113        "Path can be installed in AF RIB";
18560    }14114    }
18561    leaf is-permanent-path {14115    leaf is-permanent-path {
18562      type boolean;14116      type boolean;
18563      description14117      description
18564        "Path is of type Permanent path";14118        "Path is of type Permanent path";
18565    }14119    }
18566    leaf graceful-shutdown {14120    leaf graceful-shutdown {
18567      type boolean;14121      type boolean;
18568      description14122      description
18569        "Marked for graceful shutdown";14123        "Marked for graceful shutdown";
18570    }14124    }
18571    leaf labeled-unicast-safi-path {14125    leaf labeled-unicast-safi-path {
18572      type boolean;14126      type boolean;
18573      description14127      description
18574        "Path was learnt by labeled-unicast SAFI";14128        "Path was learnt by labeled-unicast SAFI";
18575    }14129    }
18576    leaf has-vpn-nexthop-addr {14130    leaf has-vpn-nexthop-addr {
18577      type boolean;14131      type boolean;
18578      description14132      description
18579        "Path has VPN nexthop Address";14133        "Path has VPN nexthop Address";
18580    }14134    }
18581    leaf is-orig-src-rd-present {14135    leaf is-orig-src-rd-present {
18582      type boolean;14136      type boolean;
18583      description14137      description
18584        "Original Source RD  present";14138        "Original Source RD  present";
18585    }14139    }
18586    leaf af-name {14140    leaf af-name {
18587      type Bgp-afi;14141      type Bgp-afi;
18588      description14142      description
18589        "Original Source Address family identifier";14143        "Original Source Address family identifier";
18590    }14144    }
18591    leaf route-distinguisher {14145    leaf route-distinguisher {
18592      type xr:Route-dist;14146      type xr:Route-dist;
18593      description14147      description
18594        "Original Source Route Distinguisher";14148        "Original Source Route Distinguisher";
18595    }14149    }
18596    leaf mac-ip-present {14150    leaf mac-ip-present {
18597      type boolean;14151      type boolean;
18598      description14152      description
18599        "Mac IP Present  present";14153        "Mac IP Present  present";
18600    }14154    }
18601    leaf mac-ip {14155    leaf mac-ip {
18602      type yang:mac-address;14156      type yang:mac-address;
18603      description14157      description
18604        "Mac associated with IP";14158        "Mac associated with IP";
18605    }14159    }
18606    leaf ether-tag-id {14160    leaf ether-tag-id {
18607      type uint32;14161      type uint32;
18608      description14162      description
18609        "Ethernet Tag Id";14163        "Ethernet Tag Id";
n18610    }n
18611    leaf igmp-flags-present {
18612      type boolean;
18613      description
18614        "EVPN IGMP Flags Present";
18615    }
18616    leaf igmp-flags {
18617      type uint8;
18618      description
18619        "EVPN IGMP Flags";
18620    }
18621    leaf has-srv6-sid-allocated {
18622      type boolean;
18623      description
18624        "Net has SRv6 SID allocated";
18625    }
18626    leaf srv6-sid-address {
18627      type Ipv6-address;
18628      description
18629        "SRv6 SID address value";
18630    }
18631    leaf srv6-sid-address-len {
18632      type uint32;
18633      description
18634        "SRv6 SID address Length";
18635    }
18636    leaf srv6-sid-alloc-mode {
18637      type uint32;
18638      description
18639        "SID alloc mode of SRv6";
18640    }
18641    leaf srv6-locator {
18642      type string;
18643      description
18644        "SRv6 Locator Name";
18645    }
18646    leaf evpn-imet-pmsi-originator-present {
18647      type boolean;
18648      description
18649        "EVPN IMET PMSI Originator Nexthop is present";
18650    }
18651    leaf evpn-imet-pmsi-nexthop-reachable {
18652      type boolean;
18653      description
18654        "Reachability for PMSI Originator nexthop";
18655    }
18656    leaf path-count {
18657      type uint32;
18658      description
18659        "Number of paths for net";
18660    }
18661    leaf rib-delay {
18662      type boolean;
18663      description
18664        "RIB Download Delay Applicable";
18665    }14164    }
18666    list rcvd-label {14165    list rcvd-label {
18667      description14166      description
18668        "Path received label stack";14167        "Path received label stack";
18669      leaf entry {14168      leaf entry {
18670        type uint32;14169        type uint32;
18671        description14170        description
18672          "Path received label stack";14171          "Path received label stack";
18673      }14172      }
18674    }14173    }
18675    list l2vpn-circuit-status-value {14174    list l2vpn-circuit-status-value {
18676      description14175      description
18677        "L2VPN Circuit Status Value";14176        "L2VPN Circuit Status Value";
18678      leaf entry {14177      leaf entry {
18679        type uint8;14178        type uint8;
18680        description14179        description
18681          "L2VPN Circuit Status Value";14180          "L2VPN Circuit Status Value";
18682      }14181      }
18683    }14182    }
18684    list mvpn-pmsi-value {14183    list mvpn-pmsi-value {
18685      description14184      description
18686        "Mvpn PMSI Value";14185        "Mvpn PMSI Value";
18687      leaf entry {14186      leaf entry {
18688        type uint8;14187        type uint8;
18689        description14188        description
18690          "Mvpn PMSI Value";14189          "Mvpn PMSI Value";
18691      }14190      }
18692    }14191    }
18693    list extended-community {14192    list extended-community {
18694      description14193      description
18695        "Mvpn Extended community attribute";14194        "Mvpn Extended community attribute";
18696      leaf entry {14195      leaf entry {
18697        type uint8;14196        type uint8;
18698        description14197        description
18699          "Mvpn Extended community attribute";14198          "Mvpn Extended community attribute";
18700      }14199      }
18701    }14200    }
18702    list local-peers-advertised-to {14201    list local-peers-advertised-to {
18703      description14202      description
18704        "Local peers that this prefix has been advertised14203        "Local peers that this prefix has been advertised
18705         to";14204         to";
18706      uses BGP-ADVINFO-TYPE;14205      uses BGP-ADVINFO-TYPE;
18707    }14206    }
18708    list pe-peers-advertised-to {14207    list pe-peers-advertised-to {
18709      description14208      description
18710        "PE peers that this prefix has been advertised to";14209        "PE peers that this prefix has been advertised to";
18711      uses BGP-ADVINFO-TYPE;14210      uses BGP-ADVINFO-TYPE;
18712    }14211    }
n18713    list best-path-orrbitfield {n14212    list best-path-orr-bitfield {
18714      description14213      description
18715        "ORR Best path Bitfields";14214        "ORR Best path Bitfields";
18716      uses BGP-ADVINFO-TYPE;14215      uses BGP-ADVINFO-TYPE;
18717    }14216    }
n18718    list add-path-orrbitfield {n14217    list add-path-orr-bitfield {
18719      description14218      description
18720        "ORR Add path Bitfields";14219        "ORR Add path Bitfields";
18721      uses BGP-ADVINFO-TYPE;14220      uses BGP-ADVINFO-TYPE;
18722    }14221    }
18723  }14222  }
1872414223
18725  grouping BGP-PATH-ADV-BAG {14224  grouping BGP-PATH-ADV-BAG {
18726    description14225    description
18727      "BGP path with advertised attributes information";14226      "BGP path with advertised attributes information";
18728    container neighbor-address-xr {14227    container neighbor-address-xr {
18729      description14228      description
18730        "Neighbor Address";14229        "Neighbor Address";
18731      uses BGP-ADDRTYPE;14230      uses BGP-ADDRTYPE;
18732    }14231    }
18733    container path-info-after-policy-in {14232    container path-info-after-policy-in {
18734      description14233      description
18735        "Path information after inbound policy";14234        "Path information after inbound policy";
18736      uses BGP-PATH;14235      uses BGP-PATH;
18737    }14236    }
18738    container path-info-after-policy-out {14237    container path-info-after-policy-out {
18739      description14238      description
18740        "Path information after outbound policy";14239        "Path information after outbound policy";
18741      uses BGP-PATH;14240      uses BGP-PATH;
18742    }14241    }
18743    container attributes-after-policy-in {14242    container attributes-after-policy-in {
18744      description14243      description
18745        "Attributes after inbound policy";14244        "Attributes after inbound policy";
18746      uses BGP-ATTR;14245      uses BGP-ATTR;
18747    }14246    }
18748    container attributes-after-policy-out {14247    container attributes-after-policy-out {
18749      description14248      description
18750        "Attributes after outbound policy";14249        "Attributes after outbound policy";
18751      uses BGP-ATTR;14250      uses BGP-ATTR;
18752    }14251    }
18753    leaf no-path {14252    leaf no-path {
18754      type boolean;14253      type boolean;
18755      description14254      description
18756        "No path exists All 'sp_path_in' fields except14255        "No path exists All 'sp_path_in' fields except
18757         'sp_path_in->bag_prefix' are invalid.  All14256         'sp_path_in->bag_prefix' are invalid.  All
18758         'sp_path_out' fields are invalid.";14257         'sp_path_out' fields are invalid.";
18759    }14258    }
18760    leaf af-name {14259    leaf af-name {
18761      type Bgp-afi;14260      type Bgp-afi;
18762      description14261      description
18763        "Address family identifier";14262        "Address family identifier";
18764    }14263    }
18765    leaf route-distinguisher {14264    leaf route-distinguisher {
18766      type xr:Route-dist;14265      type xr:Route-dist;
18767      description14266      description
n18768        "BGP path with advertised Route Distinguisher";n14267        "Route Distinguisher";
18769    }14268    }
18770    leaf source-route-distinguisher {14269    leaf source-route-distinguisher {
18771      type xr:Route-dist;14270      type xr:Route-dist;
18772      description14271      description
n18773        "BGP path advertised Source Route Distinguisher";n14272        "Source Route Distinguisher";
18774    }14273    }
18775    leaf vrf-name {14274    leaf vrf-name {
18776      type string;14275      type string;
18777      description14276      description
18778        "Name of the VRF";14277        "Name of the VRF";
n18779    }n
18780  }
18781 
18782  grouping BGP-RNH-ENTRY-INFO {
18783    description
18784      "BGP RNH ENTRY INFO";
18785    leaf lrnh-type {
18786      type uint16;
18787      description
18788        "RNH Type";
18789    }
18790    leaf lrnh-table {
18791      type uint32;
18792      description
18793        "RNH Table ID";
18794    }
18795    leaf lrnhvni {
18796      type uint32;
18797      description
18798        "RNH VNI";
18799    }
18800    leaf lrnh-addr {
18801      type inet:ipv4-address;
18802      description
18803        "RNH Address";
18804    }
18805    leaf lrnh-mac {
18806      type Mac-address;
18807      description
18808        "RNH MAC Address";
18809    }
18810    leaf frnh-as {
18811      type uint8;
18812      description
18813        "RNH Flags";
18814    }
18815    leaf rrnh-as {
18816      type uint32;
18817      description
18818        "RNH Refcount";
18819    }
18820    leaf lrnhul-table {
18821      type uint32;
18822      description
18823        "RNH Underlay Table ID";
18824    }
18825  }
18826 
18827  grouping BGP-L2VPN-EVPN-ESI {
18828    description
18829      "BGP L2VPN EVPN ESI";
18830    leaf esi {
18831      type yang:hex-string;
18832      description
18833        "esi";
18834    }
18835  }
18836 
18837  grouping BGP-LRNH-ENTRY-INFO {
18838    description
18839      "BGP LRNH ENTRY INFO";
18840    container local-rnhesi {
18841      description
18842        "Local RNH ESI";
18843      uses BGP-L2VPN-EVPN-ESI;
18844    }
18845    leaf lrnh-present {
18846      type boolean;
18847      description
18848        "RNH present boolean";
18849    }
18850    leaf lrnh-type {
18851      type uint16;
18852      description
18853        "RNH Type";
18854    }
18855    leaf lrnhvni {
18856      type uint32;
18857      description
18858        "RNH VNI";
18859    }
18860    leaf lrnh-addr {
18861      type inet:ipv4-address;
18862      description
18863        "RNH Address";
18864    }
18865    leaf lrnhv6-addr {
18866      type inet:ipv6-address;
18867      description
18868        "RNH IPv6 Address";
18869    }
18870    leaf lrnh-mac {
18871      type Mac-address;
18872      description
18873        "RNH MAC Address";
18874    }
18875    leaf lrnhul-table {
18876      type uint32;
18877      description
18878        "RNH Underlay Table ID";
18879    }
18880    leaf lrnh-nve-id {
18881      type uint32;
18882      description
18883        "NVE ID";
18884    }
18885    leaf lrnh-nve-ifh {
18886      type xr:Interface-name;
18887      description
18888        "NVE IFH";
18889    }
18890    leaf lrnh-tunnel-type {
18891      type uint32;
18892      description
18893        "Tunnel Type";
18894    }
18895  }
18896 
18897  grouping BGP-RNH-BAG {
18898    description
18899      "BGP RNH";
18900    leaf lrnh-table {
18901      type uint32;
18902      description
18903        "RNH Table ID";
18904    }
18905    list local-rnh-entry {
18906      max-elements "2";
18907      description
18908        "Local RNH Entries";
18909      uses BGP-LRNH-ENTRY-INFO;
18910    }
18911    list rnh-entry-info {
18912      description
18913        "List of Dependency Tables ";
18914      uses BGP-RNH-ENTRY-INFO;
18915    }14278    }
18916  }14279  }
1891714280
18918  grouping BGP-EDM-RPKI-REFRESH-ENTRY {14281  grouping BGP-EDM-RPKI-REFRESH-ENTRY {
18919    description14282    description
18920      "BGP EDM RPKI REFRESH ENTRY";14283      "BGP EDM RPKI REFRESH ENTRY";
18921    leaf af-name {14284    leaf af-name {
18922      type Bgp-rpki-af;14285      type Bgp-rpki-af;
18923      description14286      description
18924        "Address Family";14287        "Address Family";
18925    }14288    }
18926    leaf neighbor {14289    leaf neighbor {
18927      type string;14290      type string;
18928      description14291      description
18929        "BGP neighbor";14292        "BGP neighbor";
18930    }14293    }
18931    leaf policy {14294    leaf policy {
18932      type string;14295      type string;
18933      description14296      description
18934        "Route Policy";14297        "Route Policy";
18935    }14298    }
18936    leaf paths {14299    leaf paths {
18937      type uint32;14300      type uint32;
18938      description14301      description
18939        "Number of BGP paths modified or dropped";14302        "Number of BGP paths modified or dropped";
18940    }14303    }
18941    leaf drop {14304    leaf drop {
18942      type boolean;14305      type boolean;
18943      description14306      description
18944        "BGP paths were dropped";14307        "BGP paths were dropped";
18945    }14308    }
18946  }14309  }
1894714310
18948  grouping BGP-RPKI-REFRESH-LIST-BAG {14311  grouping BGP-RPKI-REFRESH-LIST-BAG {
18949    description14312    description
18950      "BGP RPKI REFRESH LIST BAG";14313      "BGP RPKI REFRESH LIST BAG";
18951    list refresh-entry {14314    list refresh-entry {
18952      description14315      description
18953        "Array of refresh entries";14316        "Array of refresh entries";
18954      uses BGP-EDM-RPKI-REFRESH-ENTRY;14317      uses BGP-EDM-RPKI-REFRESH-ENTRY;
18955    }14318    }
18956  }14319  }
1895714320
n18958  grouping BGP-DRYRUN-POLICY-STATS-NBR-BAG {n
18959    description
18960      "BGP dryrun policy neighbor statistics bag";
18961    container neighbor-address {
18962      description
18963        "Neighbor address";
18964      uses BGP-ADDRTYPE;
18965    }
18966    leaf prefix-modified-count {
18967      type uint32;
18968      description
18969        "Number of accepted modified prefixes";
18970    }
18971    leaf prefix-accepted-count {
18972      type uint32;
18973      description
18974        "Number of accepted unmodified prefixes";
18975    }
18976    leaf prefix-denied-count {
18977      type uint32;
18978      description
18979        "Number of denied prefixes";
18980    }
18981    leaf current-policy-prefix-accepted-modified {
18982      type uint64;
18983      description
18984        "Number of prefixes accepted modifed by
18985         soft-reconfigfrom this BGP neighbor";
18986    }
18987    leaf current-policy-denied {
18988      type uint64;
18989      description
18990        "Number of prefixes exactly denied (non
18991         cumulative)";
18992    }
18993    leaf current-policy-accepted {
18994      type uint64;
18995      description
18996        "Number of prefixes acceptedfrom this BGP
18997         neighbor";
18998    }
18999    leaf path-memory {
19000      type uint64;
19001      units "byte";
19002      description
19003        "Memory in bytes used by the smallest pathin the
19004         given AFI for a single path";
19005    }
19006    leaf path-memory-count {
19007      type uint64;
19008      units "byte";
19009      description
19010        "Total memory in bytes used by the smallest
19011         pathin the given AFI";
19012    }
19013    leaf paths-nbr-count {
19014      type uint32;
19015      description
19016        "Paths evaluated for this neighbor";
19017    }
19018    leaf remote-as {
19019      type uint32;
19020      description
19021        "Remote Autonomous System number";
19022    }
19023    leaf route-policy-in {
19024      type string;
19025      description
19026        "Incoming route policy name";
19027    }
19028    leaf inuse-policy {
19029      type Bgp-dryrun-inuse-policy-state;
19030      description
19031        "Inuse Policy presence";
19032    }
19033    leaf soft-reconfig {
19034      type Bgp-dryrun-softreconfig-state;
19035      description
19036        "Soft reconfig configuration presence";
19037    }
19038  }
19039 
19040  grouping BGP-DRYRUN-POLICY-STATS-AFI {
19041    description
19042      "BGP dryrun policy afi statistics bag";
19043    leaf af-name {
19044      type Bgp-afi;
19045      description
19046        "Address family identifier";
19047    }
19048    leaf number-of-networks {
19049      type uint32;
19050      description
19051        "Total Number of networks count";
19052    }
19053    leaf path-afi-count {
19054      type uint32;
19055      description
19056        "Total number of paths count per AFI";
19057    }
19058    leaf policy-exists {
19059      type Bgp-dryrun-policy-error;
19060      description
19061        "Policy Config Error";
19062    }
19063    leaf elapsed-duration {
19064      type uint64;
19065      description
19066        "Dryrun total elapsed duration in ms";
19067    }
19068    leaf busy-retry-later {
19069      type boolean;
19070      description
19071        "Dryrun currently executing for an other policy,
19072         retry later";
19073    }
19074    leaf request-complete {
19075      type uint32;
19076      description
19077        "Dryrun request is complete";
19078    }
19079    leaf num-networks-walked {
19080      type uint32;
19081      description
19082        "Total Number of networks walked so far";
19083    }
19084  }
19085 
19086  grouping BGP-DRYRUN-POLICY-STATS-NEIGHBOR-GROUPS-BAG {
19087    description
19088      "BGP dryrun policy statistics bag";
19089    container afi-stats {
19090      description
19091        "BGP dryrun afi statistics";
19092      uses BGP-DRYRUN-POLICY-STATS-AFI;
19093    }
19094    list nbr-stat {
19095      description
19096        "BGP dryrun neighbor statistics";
19097      uses BGP-DRYRUN-POLICY-STATS-NBR-BAG;
19098    }
19099  }
19100 
19101  grouping BGP-UPDERR-VRF-BAG {14321  grouping BGP-UPDERR-VRF-BAG {
19102    description14322    description
19103      "BGP Update error-handling VRF information";14323      "BGP Update error-handling VRF information";
19104    container last-update-malformed-timestamp {14324    container last-update-malformed-timestamp {
19105      description14325      description
19106        "Last malformed messages received time: time14326        "Last malformed messages received time: time
19107         elapsed since 00:00:00 UTC, January 1, 1970";14327         elapsed since 00:00:00 UTC, January 1, 1970";
19108      uses BGP-TIMESPEC;14328      uses BGP-TIMESPEC;
19109    }14329    }
19110    leaf update-vrf-name {14330    leaf update-vrf-name {
19111      type string;14331      type string;
19112      description14332      description
19113        "VRF Name";14333        "VRF Name";
19114    }14334    }
19115    leaf update-malformed-message-count {14335    leaf update-malformed-message-count {
19116      type uint32;14336      type uint32;
19117      description14337      description
n19118        "BGP virtual routing & forwarding  malformedn
19119         messages count";14338        "Malformed messages count";
19120    }14339    }
19121    leaf update-malformed-neighbor-count {14340    leaf update-malformed-neighbor-count {
19122      type uint32;14341      type uint32;
19123      description14342      description
19124        "Count of neighbors that received malformed14343        "Count of neighbors that received malformed
19125         messages";14344         messages";
19126    }14345    }
19127    leaf last-update-malformed-age {14346    leaf last-update-malformed-age {
19128      type uint32;14347      type uint32;
19129      units "second";14348      units "second";
19130      description14349      description
19131        "Time since last malformed messages received14350        "Time since last malformed messages received
19132         event (in seconds)";14351         event (in seconds)";
n19133    }n
19134  }
19135 
19136  grouping NBR-VER-RATE-DETAIL {
19137    description
19138      "NBR VER RATE DETAIL";
19139    container version-bump-count-interval-start {
19140      description
19141        "Start time of the stat collection interval";
19142      uses BGP-TIMESPEC;
19143    }
19144    container version-bump-count-interval-end {
19145      description
19146        "End time of the stat collection interval";
19147      uses BGP-TIMESPEC;
19148    }
19149    leaf interval-info {
19150      type Bgp-vr-int;
19151      description
19152        "Stat collection interval identifier";
19153    }
19154    list version-bump-count-interval {
19155      description
19156        "Version bumps per event in the stat collection
19157         interval";
19158      uses NBR-INT-BUMPCOUNT;
19159    }
19160  }
19161 
19162  grouping NBR-INT-BUMPCOUNT {
19163    description
19164      "NBR INT BUMPCOUNT";
19165    leaf bump-count-event {
19166      type Nbr-vr-bumpcount-event;
19167      description
19168        "Event contributing to version bumps";
19169    }
19170    leaf version-bump-count {
19171      type uint32;
19172      description
19173        "Rolling average of version bumps in this stat
19174         collection interval";
19175    }
19176  }
19177 
19178  grouping NBR-VER-RATE {
19179    description
19180      "NBR VER RATE";
19181    leaf interval-info {
19182      type Bgp-vr-int;
19183      description
19184        "Stat collection interval identifier";
19185    }
19186    list version-bump-count-interval {
19187      description
19188        "Version bumps per event in the stat collection
19189         interval";
19190      uses NBR-INT-BUMPCOUNT;
19191    }
19192  }
19193 
19194  grouping NBR-TOTAL-BUMPS {
19195    description
19196      "NBR TOTAL BUMPS";
19197    leaf bump-event-count {
19198      type Nbr-vr-bumpcount-event;
19199      description
19200        "Event contributing to version bumps";
19201    }
19202    leaf version-bumps-count {
19203      type uint64;
19204      description
19205        "Total number of version bumps";
19206    }
19207  }
19208 
19209  grouping VERSION-RATE-AFI {
19210    description
19211      "BGP neighbor brief version rate AFI level
19212       information";
19213    leaf af-name {
19214      type Bgp-afi;
19215      description
19216        "Address family identifier";
19217    }
19218    list version-bump-count {
19219      description
19220        "Total version bumps per event";
19221      uses NBR-TOTAL-BUMPS;
19222    }
19223    list version-rate-stat {
19224      max-elements "4";
19225      description
19226        "Version bump stats per event per interval";
19227      uses NBR-VER-RATE;
19228    }
19229  }
19230 
19231  grouping BGP-NBR-BRIEF-BAG {
19232    description
19233      "BGP Neighbor brief Information";
19234    container connection-local-address {
19235      description
19236        "Local address for the connection";
19237      uses BGP-ADDRTYPE;
19238    }
19239    container connection-remote-address {
19240      description
19241        "Remote address for the connection";
19242      uses BGP-ADDRTYPE;
19243    }
19244    leaf speaker-id {
19245      type uint8;
19246      description
19247        "Speaker this neighbor is allocated to";
19248    }
19249    leaf description {
19250      type string;
19251      description
19252        "BGP neighbor brief description";
19253    }
19254    leaf local-as {
19255      type uint32;
19256      description
19257        "Local AS number";
19258    }
19259    leaf remote-as {
19260      type uint32;
19261      description
19262        "Remote AS number";
19263    }
19264    leaf messages-sent {
19265      type uint32;
19266      description
19267        "Number of messages sent";
19268    }
19269    leaf messages-queued-in {
19270      type uint32;
19271      description
19272        "No. of msgs on receive queue";
19273    }
19274    leaf messages-queued-out {
19275      type uint32;
19276      description
19277        "No. of messages on send queue";
19278    }
19279    leaf connection-state {
19280      type Bgp-conn-state;
19281      description
19282        "State of connection";
19283    }
19284    leaf is-local-address-configured {
19285      type boolean;
19286      description
19287        "Local address configured for the neighbor
19288         connection";
19289    }
19290    leaf vrf-name {
19291      type string;
19292      description
19293        "Name of the VRF";
19294    }
19295    leaf nsr-enabled {
19296      type boolean;
19297      description
19298        "Neighbor supports NSR";
19299    }
19300    leaf nsr-state {
19301      type Bgp-sync-nbr-nsr-state;
19302      description
19303        "NSR state";
19304    }
19305    leaf postit-pending {
19306      type boolean;
19307      description
19308        "Nbr has postits pending";
19309    }
19310    leaf connection-established-time {
19311      type uint32;
19312      units "second";
19313      description
19314        "Time (in secs) that the connection has been
19315         established";
19316    }
19317    leaf bmp-server-id {
19318      type int32;
19319      description
19320        "BMP Server id";
19321    }
19322    list neighbor-version {
19323      max-elements "25";
19324      description
19325        "BGP neighbor version for alladdress-families";
19326      leaf entry {
19327        type uint64;
19328        description
19329          "BGP neighbor version for alladdress-families";
19330      }
19331    }
19332    list af-data {
19333      max-elements "25";
19334      description
19335        "Version rate data at the per address family
19336         level";
19337      uses VERSION-RATE-AFI;
19338    }
19339    list version-bump-count {
19340      description
19341        "Total version bumps per event";
19342      uses NBR-TOTAL-BUMPS;
19343    }
19344    list version-rate-stat {
19345      max-elements "4";
19346      description
19347        "Per interval stats";
19348      uses NBR-VER-RATE-DETAIL;
19349    }14352    }
19350  }14353  }
1935114354
19352  grouping BGP-TIMESPEC {14355  grouping BGP-TIMESPEC {
19353    description14356    description
19354      "BGP TIMESPEC";14357      "BGP TIMESPEC";
19355    leaf seconds {14358    leaf seconds {
19356      type uint32;14359      type uint32;
19357      units "second";14360      units "second";
19358      description14361      description
19359        "Seconds part of time value";14362        "Seconds part of time value";
19360    }14363    }
19361    leaf nanoseconds {14364    leaf nanoseconds {
19362      type uint32;14365      type uint32;
19363      units "nanosecond";14366      units "nanosecond";
19364      description14367      description
19365        "Nanoseconds part of time value";14368        "Nanoseconds part of time value";
19366    }14369    }
19367  }14370  }
1936814371
19369  grouping BGP-UPDGEN-STATS-BAG {14372  grouping BGP-UPDGEN-STATS-BAG {
19370    description14373    description
19371      "BGP Update generation common statistics14374      "BGP Update generation common statistics
19372       information";14375       information";
19373    container last-update-discard-timestamp {14376    container last-update-discard-timestamp {
19374      description14377      description
19375        "Last Discarded time";14378        "Last Discarded time";
19376      uses BGP-TIMESPEC;14379      uses BGP-TIMESPEC;
19377    }14380    }
19378    container last-update-cleared-timestamp {14381    container last-update-cleared-timestamp {
19379      description14382      description
19380        "Last Cleared time";14383        "Last Cleared time";
19381      uses BGP-TIMESPEC;14384      uses BGP-TIMESPEC;
19382    }14385    }
19383    container last-update-throttle-timestamp {14386    container last-update-throttle-timestamp {
19384      description14387      description
19385        "Last Throttled time";14388        "Last Throttled time";
19386      uses BGP-TIMESPEC;14389      uses BGP-TIMESPEC;
19387    }14390    }
19388    container last-update-recovery-timestamp {14391    container last-update-recovery-timestamp {
19389      description14392      description
19390        "Last Recovery time";14393        "Last Recovery time";
19391      uses BGP-TIMESPEC;14394      uses BGP-TIMESPEC;
19392    }14395    }
19393    container last-update-memory-allocation-fail-timestamp {14396    container last-update-memory-allocation-fail-timestamp {
19394      description14397      description
19395        "Memory allocation failure time";14398        "Memory allocation failure time";
19396      uses BGP-TIMESPEC;14399      uses BGP-TIMESPEC;
19397    }14400    }
19398    leaf update-out-queue-messages-high {14401    leaf update-out-queue-messages-high {
19399      type uint32;14402      type uint32;
19400      description14403      description
19401        "OutQueue High Messages";14404        "OutQueue High Messages";
19402    }14405    }
19403    leaf update-out-queue-messages-cumulative {14406    leaf update-out-queue-messages-cumulative {
19404      type uint32;14407      type uint32;
19405      description14408      description
19406        "OutQueue Cumulative Messages";14409        "OutQueue Cumulative Messages";
19407    }14410    }
19408    leaf update-out-queue-messages-discarded {14411    leaf update-out-queue-messages-discarded {
19409      type uint32;14412      type uint32;
19410      description14413      description
19411        "OutQueue Discarded Messages";14414        "OutQueue Discarded Messages";
19412    }14415    }
19413    leaf update-out-queue-messages-cleared {14416    leaf update-out-queue-messages-cleared {
19414      type uint32;14417      type uint32;
19415      description14418      description
19416        "OutQueue Cleared Messages";14419        "OutQueue Cleared Messages";
19417    }14420    }
19418    leaf update-out-queue-size-high {14421    leaf update-out-queue-size-high {
19419      type uint32;14422      type uint32;
19420      description14423      description
19421        "OutQueue Hi Size";14424        "OutQueue Hi Size";
19422    }14425    }
19423    leaf update-out-queue-size-cumulative {14426    leaf update-out-queue-size-cumulative {
19424      type uint64;14427      type uint64;
19425      description14428      description
19426        "OutQueue Cumulative Size";14429        "OutQueue Cumulative Size";
19427    }14430    }
19428    leaf update-out-queue-size-discarded {14431    leaf update-out-queue-size-discarded {
19429      type uint64;14432      type uint64;
19430      description14433      description
19431        "OutQueue Discarded Size";14434        "OutQueue Discarded Size";
19432    }14435    }
19433    leaf update-out-queue-size-cleared {14436    leaf update-out-queue-size-cleared {
19434      type uint64;14437      type uint64;
19435      description14438      description
19436        "OutQueue Cleared Size";14439        "OutQueue Cleared Size";
19437    }14440    }
19438    leaf last-update-discard-age {14441    leaf last-update-discard-age {
19439      type uint32;14442      type uint32;
19440      units "second";14443      units "second";
19441      description14444      description
19442        "Time since last Discard event (in seconds)";14445        "Time since last Discard event (in seconds)";
19443    }14446    }
19444    leaf last-update-cleard-age {14447    leaf last-update-cleard-age {
19445      type uint32;14448      type uint32;
19446      units "second";14449      units "second";
19447      description14450      description
19448        "Time since last Clear event (in seconds)";14451        "Time since last Clear event (in seconds)";
19449    }14452    }
19450    leaf update-throttle-count {14453    leaf update-throttle-count {
19451      type uint32;14454      type uint32;
19452      description14455      description
19453        "Throttle Count";14456        "Throttle Count";
19454    }14457    }
19455    leaf last-update-throttle-age {14458    leaf last-update-throttle-age {
19456      type uint32;14459      type uint32;
19457      units "second";14460      units "second";
19458      description14461      description
19459        "Time since last Throttle event (in seconds)";14462        "Time since last Throttle event (in seconds)";
19460    }14463    }
19461    leaf update-recovery-count {14464    leaf update-recovery-count {
19462      type uint32;14465      type uint32;
19463      description14466      description
19464        "Recovery Count";14467        "Recovery Count";
19465    }14468    }
19466    leaf last-update-recovery-age {14469    leaf last-update-recovery-age {
19467      type uint32;14470      type uint32;
19468      units "second";14471      units "second";
19469      description14472      description
19470        "Time since last Recovery event (in seconds)";14473        "Time since last Recovery event (in seconds)";
19471    }14474    }
19472    leaf update-memory-allocation-fail-count {14475    leaf update-memory-allocation-fail-count {
19473      type uint32;14476      type uint32;
19474      description14477      description
n19475        "Number of times there was failure whenn14478        "Memory allocation failure count";
19476         allocatingmemory for BGP update generation";
19477    }14479    }
19478    leaf last-update-memory-allocation-fail-age {14480    leaf last-update-memory-allocation-fail-age {
19479      type uint32;14481      type uint32;
19480      units "second";14482      units "second";
19481      description14483      description
19482        "Time since last memory allocation failure event14484        "Time since last memory allocation failure event
19483         (in seconds)";14485         (in seconds)";
19484    }14486    }
19485  }14487  }
1948614488
19487  grouping BGP-UPDGEN-AF-SUMMARY-BAG {14489  grouping BGP-UPDGEN-AF-SUMMARY-BAG {
19488    description14490    description
19489      "BGP Update generation address-family summary14491      "BGP Update generation address-family summary
19490       information";14492       information";
19491    leaf update-group-af-name {14493    leaf update-group-af-name {
19492      type Bgp-afi;14494      type Bgp-afi;
19493      description14495      description
19494        "Address family identifier";14496        "Address family identifier";
19495    }14497    }
19496    leaf current-update-limit-af {14498    leaf current-update-limit-af {
19497      type uint32;14499      type uint32;
19498      description14500      description
n19499        "BGP address-family current AF update limit";n14501        "Current AF update limit";
19500    }14502    }
19501    leaf update-out-queue-messages {14503    leaf update-out-queue-messages {
19502      type uint32;14504      type uint32;
19503      description14505      description
19504        "OutQueue messages";14506        "OutQueue messages";
19505    }14507    }
19506    leaf update-out-queue-size {14508    leaf update-out-queue-size {
19507      type uint32;14509      type uint32;
19508      description14510      description
19509        "OutQueue size";14511        "OutQueue size";
19510    }14512    }
19511    leaf update-throttled {14513    leaf update-throttled {
19512      type boolean;14514      type boolean;
19513      description14515      description
n19514        "BGP sub-group updates throttled because writen14516        "Is update throttled";
19515         limit reached";
19516    }14517    }
19517    leaf update-update-group-count {14518    leaf update-update-group-count {
19518      type uint32;14519      type uint32;
19519      description14520      description
19520        "Update-group count";14521        "Update-group count";
19521    }14522    }
19522    leaf update-sub-group-count {14523    leaf update-sub-group-count {
19523      type uint32;14524      type uint32;
19524      description14525      description
19525        "Sub-group count";14526        "Sub-group count";
19526    }14527    }
19527    leaf sub-group-throttled-count {14528    leaf sub-group-throttled-count {
19528      type uint32;14529      type uint32;
19529      description14530      description
19530        "Throttled sub-group count";14531        "Throttled sub-group count";
19531    }14532    }
19532    leaf refresh-sub-group-count {14533    leaf refresh-sub-group-count {
19533      type uint32;14534      type uint32;
19534      description14535      description
n19535        "BGP address-family refresh sub-group count";n14536        "Refresh sub-group count";
19536    }14537    }
19537    leaf refresh-sub-group-throttled-count {14538    leaf refresh-sub-group-throttled-count {
19538      type uint32;14539      type uint32;
19539      description14540      description
19540        "Throttled refresh sub-group count";14541        "Throttled refresh sub-group count";
19541    }14542    }
19542    leaf filter-group-count {14543    leaf filter-group-count {
19543      type uint32;14544      type uint32;
19544      description14545      description
n19545        "BGP address-family filter-group count";n14546        "Filter-group count";
19546    }14547    }
19547    leaf neighbor-count {14548    leaf neighbor-count {
19548      type uint32;14549      type uint32;
19549      description14550      description
n19550        "BGP sub-group neighbor count";n14551        "Neighbor count";
19551    }14552    }
19552  }14553  }
1955314554
19554  grouping BGP-UPDGEN-PROC-BAG {14555  grouping BGP-UPDGEN-PROC-BAG {
19555    description14556    description
19556      "BGP Update generation Process information";14557      "BGP Update generation Process information";
19557    container update-statistics {14558    container update-statistics {
19558      description14559      description
n19559        "BGP process update statistics";n14560        "Update statistics";
19560      uses BGP-UPDGEN-STATS-BAG;14561      uses BGP-UPDGEN-STATS-BAG;
19561    }14562    }
19562    leaf update-out-logging {14563    leaf update-out-logging {
19563      type boolean;14564      type boolean;
19564      description14565      description
19565        "Enable syslog messages for update generation14566        "Enable syslog messages for update generation
19566         events";14567         events";
19567    }14568    }
19568    leaf current-update-limit-process {14569    leaf current-update-limit-process {
19569      type uint32;14570      type uint32;
19570      description14571      description
19571        "Current Process update limit";14572        "Current Process update limit";
19572    }14573    }
19573    leaf configured-update-limit-process {14574    leaf configured-update-limit-process {
19574      type uint32;14575      type uint32;
19575      description14576      description
19576        "Configured Process update limit";14577        "Configured Process update limit";
19577    }14578    }
19578    leaf update-out-queue-messages {14579    leaf update-out-queue-messages {
19579      type uint32;14580      type uint32;
19580      description14581      description
19581        "OutQueue messages";14582        "OutQueue messages";
19582    }14583    }
19583    leaf update-out-queue-size {14584    leaf update-out-queue-size {
19584      type uint32;14585      type uint32;
19585      description14586      description
19586        "OutQueue size";14587        "OutQueue size";
19587    }14588    }
19588    leaf update-throttled {14589    leaf update-throttled {
19589      type boolean;14590      type boolean;
19590      description14591      description
n19591        "Flag for BGP address-family summary updatesn
19592         throttled";14592        "Is update throttled";
19593    }14593    }
19594    list update-address-family {14594    list update-address-family {
19595      description14595      description
19596        "List of address-families";14596        "List of address-families";
19597      uses BGP-UPDGEN-AF-SUMMARY-BAG;14597      uses BGP-UPDGEN-AF-SUMMARY-BAG;
19598    }14598    }
19599  }14599  }
1960014600
19601  grouping BGP-CONFIG-RELATIVES-BAG {14601  grouping BGP-CONFIG-RELATIVES-BAG {
19602    description14602    description
19603      "BGP config ancestors/children information";14603      "BGP config ancestors/children information";
19604    container neighbor-address-xr {14604    container neighbor-address-xr {
19605      description14605      description
19606        "Neighbor Address";14606        "Neighbor Address";
19607      uses BGP-ADDRTYPE;14607      uses BGP-ADDRTYPE;
19608    }14608    }
19609    container af-independent-relatives {14609    container af-independent-relatives {
19610      description14610      description
n19611        "The relatives of theindependent address-family";n14611        "AF-independent relatives";
19612      uses BGP-CONFIG-ENTID;14612      uses BGP-CONFIG-ENTID;
19613    }14613    }
19614    leaf group-name {14614    leaf group-name {
19615      type string;14615      type string;
19616      description14616      description
19617        "Entity/group name";14617        "Entity/group name";
19618    }14618    }
19619    leaf configuration-type {14619    leaf configuration-type {
19620      type Bgp-entities;14620      type Bgp-entities;
19621      description14621      description
19622        "Entity type";14622        "Entity type";
19623    }14623    }
19624    leaf address-family-identifier {14624    leaf address-family-identifier {
n19625      type string;n14625      type uint8;
19626      description14626      description
19627        "AF identifier";14627        "AF identifier";
19628    }14628    }
19629    list af-dependent-relative {14629    list af-dependent-relative {
19630      max-elements "25";14630      max-elements "25";
19631      description14631      description
n19632        "The relatives of thedependent address-family";n14632        "AF-dependent relatives";
19633      uses BGP-CONFIG-ENTID;14633      uses BGP-CONFIG-ENTID;
19634    }14634    }
19635  }14635  }
1963614636
19637  grouping BGP-AF-DEP {14637  grouping BGP-AF-DEP {
19638    description14638    description
19639      "BGP AF-dependent configuration information";14639      "BGP AF-dependent configuration information";
nn14640    container orr-root-address {
14641      description
14642        "ORR Root Address";
14643      uses BGP-ADDRTYPE;
14644    }
19640    container orf-capability-info {14645    container orf-capability-info {
19641      description14646      description
19642        "ORF capability item info";14647        "ORF capability item info";
19643      uses BGP-CONFIG-INFO;14648      uses BGP-CONFIG-INFO;
19644    }14649    }
19645    container default-originate-info {14650    container default-originate-info {
19646      description14651      description
n19647        "The configuration of the defaultinformationn14652        "Default-originate item info";
19648         originate";
19649      uses BGP-CONFIG-INFO;14653      uses BGP-CONFIG-INFO;
19650    }14654    }
19651    container max-prefixes-info {14655    container max-prefixes-info {
19652      description14656      description
19653        "Maximum prefixes to accept item info";14657        "Maximum prefixes to accept item info";
19654      uses BGP-CONFIG-INFO;14658      uses BGP-CONFIG-INFO;
19655    }14659    }
n19656    container orr-group-info {n14660    container orr-info {
19657      description14661      description
n19658        "ORR group info";n14662        "Orr item info";
19659      uses BGP-CONFIG-INFO;14663      uses BGP-CONFIG-INFO;
19660    }14664    }
19661    container next-hop-self-info {14665    container next-hop-self-info {
19662      description14666      description
n19663        "Nexthop attribute for receivedupdates to its ownn14667        "Next hop self item info";
19664         IP address";
19665      uses BGP-CONFIG-INFO;14668      uses BGP-CONFIG-INFO;
19666    }14669    }
19667    container next-hop-unchanged-info {14670    container next-hop-unchanged-info {
19668      description14671      description
n19669        "An attribute is unchanged for nexthop";n14672        "Next hop unchanged info";
19670      uses BGP-CONFIG-INFO;14673      uses BGP-CONFIG-INFO;
19671    }14674    }
19672    container route-policy-in-info {14675    container route-policy-in-info {
19673      description14676      description
19674        "Inbound route policy item info";14677        "Inbound route policy item info";
19675      uses BGP-CONFIG-INFO;14678      uses BGP-CONFIG-INFO;
19676    }14679    }
19677    container route-policy-out-info {14680    container route-policy-out-info {
19678      description14681      description
19679        "Outbound route policy item info";14682        "Outbound route policy item info";
19680      uses BGP-CONFIG-INFO;14683      uses BGP-CONFIG-INFO;
19681    }14684    }
19682    container prefix-filter-info {14685    container prefix-filter-info {
19683      description14686      description
19684        "Inbound prefix based filter item info";14687        "Inbound prefix based filter item info";
n19685      uses BGP-CONFIG-INFO;n
19686    }
19687    container route-policy-retention-info {
19688      description
19689        "Inbound Retention policy item info";
19690      uses BGP-CONFIG-INFO;14688      uses BGP-CONFIG-INFO;
19691    }14689    }
19692    container remove-private-as-info {14690    container remove-private-as-info {
19693      description14691      description
19694        "Outbound private-AS removal item info";14692        "Outbound private-AS removal item info";
19695      uses BGP-CONFIG-INFO;14693      uses BGP-CONFIG-INFO;
19696    }14694    }
19697    container remove-private-as-in-info {14695    container remove-private-as-in-info {
19698      description14696      description
19699        "Inbound private-AS removal item info";14697        "Inbound private-AS removal item info";
19700      uses BGP-CONFIG-INFO;14698      uses BGP-CONFIG-INFO;
19701    }14699    }
19702    container route-reflector-info {14700    container route-reflector-info {
19703      description14701      description
19704        "Route-reflector client item info";14702        "Route-reflector client item info";
19705      uses BGP-CONFIG-INFO;14703      uses BGP-CONFIG-INFO;
19706    }14704    }
19707    container legacy-pe-rt-info {14705    container legacy-pe-rt-info {
19708      description14706      description
19709        "Accept-legacy-pe-RT item info";14707        "Accept-legacy-pe-RT item info";
19710      uses BGP-CONFIG-INFO;14708      uses BGP-CONFIG-INFO;
19711    }14709    }
19712    container af-enabled-info {14710    container af-enabled-info {
19713      description14711      description
19714        "Address family activate item info";14712        "Address family activate item info";
19715      uses BGP-CONFIG-INFO;14713      uses BGP-CONFIG-INFO;
19716    }14714    }
19717    container send-community-info {14715    container send-community-info {
19718      description14716      description
19719        "Send community attribute item info";14717        "Send community attribute item info";
19720      uses BGP-CONFIG-INFO;14718      uses BGP-CONFIG-INFO;
19721    }14719    }
19722    container send-graceful-shutdown-community-info {14720    container send-graceful-shutdown-community-info {
19723      description14721      description
19724        "Send Graceful shutdown related community14722        "Send Graceful shutdown related community
19725         attribute item info";14723         attribute item info";
19726      uses BGP-CONFIG-INFO;14724      uses BGP-CONFIG-INFO;
19727    }14725    }
19728    container send-extended-community-info {14726    container send-extended-community-info {
19729      description14727      description
n19730        "Sending information aboutBGP extended community";n14728        "Send extended community  item info";
19731      uses BGP-CONFIG-INFO;14729      uses BGP-CONFIG-INFO;
19732    }14730    }
19733    container soft-reconfig-info {14731    container soft-reconfig-info {
19734      description14732      description
n19735        "Information about the BGPsoft-reconfig";n14733        "Soft reconf item info";
19736      uses BGP-CONFIG-INFO;14734      uses BGP-CONFIG-INFO;
19737    }14735    }
19738    container so-o-info {14736    container so-o-info {
19739      description14737      description
19740        "BGP Site-of-Origin info";14738        "BGP Site-of-Origin info";
19741      uses BGP-CONFIG-INFO;14739      uses BGP-CONFIG-INFO;
19742    }14740    }
19743    container upd-orig-loopchk-disable-info {14741    container upd-orig-loopchk-disable-info {
19744      description14742      description
19745        "Disable originator loopchk info";14743        "Disable originator loopchk info";
19746      uses BGP-CONFIG-INFO;14744      uses BGP-CONFIG-INFO;
19747    }14745    }
19748    container weight-info {14746    container weight-info {
19749      description14747      description
19750        "Default weight item info";14748        "Default weight item info";
19751      uses BGP-CONFIG-INFO;14749      uses BGP-CONFIG-INFO;
19752    }14750    }
19753    container allowas-in-info {14751    container allowas-in-info {
19754      description14752      description
n19755        "Allowconfedas-in item info";n14753        "Allowas-in item info";
19756      uses BGP-CONFIG-INFO;
19757    }
19758    container allow-confedas-in-info {
19759      description
19760        "Allowconfedas-in item info";
19761      uses BGP-CONFIG-INFO;14754      uses BGP-CONFIG-INFO;
19762    }14755    }
19763    container af-long-lived-graceful-start-stale-time-info {14756    container af-long-lived-graceful-start-stale-time-info {
19764      description14757      description
19765        "Long-lived-time item info";14758        "Long-lived-time item info";
19766      uses BGP-CONFIG-INFO;14759      uses BGP-CONFIG-INFO;
19767    }14760    }
19768    container af-long-lived-graceful-start-capable-info {14761    container af-long-lived-graceful-start-capable-info {
19769      description14762      description
19770        "Long-lived-time item info";14763        "Long-lived-time item info";
19771      uses BGP-CONFIG-INFO;14764      uses BGP-CONFIG-INFO;
19772    }14765    }
19773    container as-override-info {14766    container as-override-info {
19774      description14767      description
n19775        "Overriding the autonomous number";n14768        "As-override info ";
19776      uses BGP-CONFIG-INFO;14769      uses BGP-CONFIG-INFO;
19777    }14770    }
19778    container aigp-info {14771    container aigp-info {
19779      description14772      description
19780        "AIGP info ";14773        "AIGP info ";
19781      uses BGP-CONFIG-INFO;14774      uses BGP-CONFIG-INFO;
19782    }14775    }
19783    container aigp-cost-community-info {14776    container aigp-cost-community-info {
19784      description14777      description
19785        "AIGP Cost Community info ";14778        "AIGP Cost Community info ";
19786      uses BGP-CONFIG-INFO;14779      uses BGP-CONFIG-INFO;
19787    }14780    }
19788    container aigp-med {14781    container aigp-med {
19789      description14782      description
19790        "AIGP MED info ";14783        "AIGP MED info ";
19791      uses BGP-CONFIG-INFO;14784      uses BGP-CONFIG-INFO;
19792    }14785    }
19793    container accept-own-info {14786    container accept-own-info {
19794      description14787      description
n19795        "Information of an attributeaccept own";n14788        "Accept-Own info";
19796      uses BGP-CONFIG-INFO;14789      uses BGP-CONFIG-INFO;
19797    }14790    }
19798    container multipath-info {14791    container multipath-info {
19799      description14792      description
n19800        "Information about BGP multipath";n14793        "Multipath info";
19801      uses BGP-CONFIG-INFO;14794      uses BGP-CONFIG-INFO;
19802    }14795    }
19803    container fspec-valid-info {14796    container fspec-valid-info {
19804      description14797      description
19805        "FSPEC Valid info";14798        "FSPEC Valid info";
19806      uses BGP-CONFIG-INFO;14799      uses BGP-CONFIG-INFO;
19807    }14800    }
19808    container next-hop-unchanged-mpath-info {14801    container next-hop-unchanged-mpath-info {
19809      description14802      description
n19810        "Next hop attribute is unchangedin multipath";n14803        "Next hop unchanged mpath info";
19811      uses BGP-CONFIG-INFO;14804      uses BGP-CONFIG-INFO;
19812    }14805    }
19813    container permanent-network-info {14806    container permanent-network-info {
19814      description14807      description
n19815        "BGP network is permanent";n14808        "Permanent network Info ";
19816      uses BGP-CONFIG-INFO;14809      uses BGP-CONFIG-INFO;
19817    }14810    }
19818    container send-mcast-attr-info {14811    container send-mcast-attr-info {
19819      description14812      description
n19820        "Sending the BGP multicast attributeinformation";n14813        "Send mcast attr info";
19821      uses BGP-CONFIG-INFO;14814      uses BGP-CONFIG-INFO;
19822    }14815    }
19823    container advertise-v4-afi-info {14816    container advertise-v4-afi-info {
19824      description14817      description
19825        "Advertise Afi Info ";14818        "Advertise Afi Info ";
19826      uses BGP-CONFIG-INFO;14819      uses BGP-CONFIG-INFO;
19827    }14820    }
19828    container advertise-v6-afi-info {14821    container advertise-v6-afi-info {
19829      description14822      description
19830        "Advertise Afi Info ";14823        "Advertise Afi Info ";
19831      uses BGP-CONFIG-INFO;14824      uses BGP-CONFIG-INFO;
19832    }14825    }
19833    container advertise-l2vpn-evpn-afi-info {14826    container advertise-l2vpn-evpn-afi-info {
19834      description14827      description
19835        "Advertise Afi Info ";14828        "Advertise Afi Info ";
19836      uses BGP-CONFIG-INFO;14829      uses BGP-CONFIG-INFO;
19837    }14830    }
19838    container advertise-dis-info {14831    container advertise-dis-info {
19839      description14832      description
19840        "Advertise Afi Info ";14833        "Advertise Afi Info ";
19841      uses BGP-CONFIG-INFO;14834      uses BGP-CONFIG-INFO;
19842    }14835    }
19843    container advertise-def-vrf-imp-disable-afi-v4-info {14836    container advertise-def-vrf-imp-disable-afi-v4-info {
19844      description14837      description
19845        "Advertise Afi Info ";14838        "Advertise Afi Info ";
19846      uses BGP-CONFIG-INFO;14839      uses BGP-CONFIG-INFO;
19847    }14840    }
19848    container advertise-def-vrf-imp-disable-afi-v6-info {14841    container advertise-def-vrf-imp-disable-afi-v6-info {
19849      description14842      description
19850        "Advertise Afi Info ";14843        "Advertise Afi Info ";
19851      uses BGP-CONFIG-INFO;14844      uses BGP-CONFIG-INFO;
19852    }14845    }
19853    container advertise-vrf-re-imp-disable-afi-v4-info {14846    container advertise-vrf-re-imp-disable-afi-v4-info {
19854      description14847      description
19855        "Advertise Afi Info ";14848        "Advertise Afi Info ";
19856      uses BGP-CONFIG-INFO;14849      uses BGP-CONFIG-INFO;
19857    }14850    }
19858    container advertise-vrf-re-imp-disable-afi-v6-info {14851    container advertise-vrf-re-imp-disable-afi-v6-info {
19859      description14852      description
19860        "Advertise Afi Info ";14853        "Advertise Afi Info ";
19861      uses BGP-CONFIG-INFO;14854      uses BGP-CONFIG-INFO;
19862    }14855    }
19863    container advertise-vrf-evpn-re-imp-disable-afi-v4-info {14856    container advertise-vrf-evpn-re-imp-disable-afi-v4-info {
19864      description14857      description
19865        "Advertise Afi Info ";14858        "Advertise Afi Info ";
19866      uses BGP-CONFIG-INFO;14859      uses BGP-CONFIG-INFO;
19867    }14860    }
19868    container advertise-vrf-evpn-re-imp-disable-afi-v6-info {14861    container advertise-vrf-evpn-re-imp-disable-afi-v6-info {
19869      description14862      description
19870        "Advertise Afi Info ";14863        "Advertise Afi Info ";
19871      uses BGP-CONFIG-INFO;14864      uses BGP-CONFIG-INFO;
19872    }14865    }
19873    container af-encapsulation-type-info {14866    container af-encapsulation-type-info {
19874      description14867      description
n19875        "The type of the encapsulation";n14868        "Encapsulation type Info ";
19876      uses BGP-CONFIG-INFO;14869      uses BGP-CONFIG-INFO;
19877    }14870    }
19878    container import-afi-info {14871    container import-afi-info {
19879      description14872      description
19880        "Import Afi Info ";14873        "Import Afi Info ";
19881      uses BGP-CONFIG-INFO;14874      uses BGP-CONFIG-INFO;
19882    }14875    }
19883    container advertise-local-labeled-route-info {14876    container advertise-local-labeled-route-info {
19884      description14877      description
19885        "Advertise routes with local-label";14878        "Advertise routes with local-label";
19886      uses BGP-CONFIG-INFO;14879      uses BGP-CONFIG-INFO;
19887    }14880    }
19888    container enforce-multiple-labels-info {14881    container enforce-multiple-labels-info {
19889      description14882      description
n19890        "BGP multiple lables enforcementinformation";n14883        "Enforce multiple labels";
19891      uses BGP-CONFIG-INFO;14884      uses BGP-CONFIG-INFO;
19892    }14885    }
n19893    container cluster-id-allow-equal-info {n
19894      description
19895        "Cluster ID check disabled info. This is the
19896         check that allows BGP to accept routes that
19897         contain a cluster list in which the first
19898         cluster ID is not equal to therouter's own
19899         cluster ID.";
19900      uses BGP-CONFIG-INFO;
19901    }
19902    container srv6-version4-info {
19903      description
19904        "Enable srv6 version 4";
19905      uses BGP-CONFIG-INFO;
19906    }
19907    container slow-peer-info {
19908      description
19909        "Slow peer related information";
19910      uses BGP-CONFIG-INFO;
19911    }
19912    container entropy-label-advertise-disable-info {
19913      description
19914        "Disable Entropy Label propagation";
19915      uses BGP-CONFIG-INFO;
19916    }
19917    container replace-private-as-info {
19918      description
19919        "Outbound private-AS replace item info";
19920      uses BGP-CONFIG-INFO;
19921    }
19922    container addpath-receive-capability-info {
19923      description
19924        "BGP configuration additional pathcapability of
19925         receiving";
19926      uses BGP-CONFIG-INFO;
19927    }
19928    container addpath-send-capability-info {
19929      description
19930        "BGP configuration additional pathcapability of
19931         sending";
19932      uses BGP-CONFIG-INFO;
19933    }
19934    container evpn-gateway-ip-advertisement-disable-info {
19935      description
19936        "BGP configuration for EVPN AF advertise
19937         gateway-ip disable";
19938      uses BGP-CONFIG-INFO;
19939    }
19940    leaf has-orf-capability {14886    leaf has-orf-capability {
19941      type uint32;14887      type uint32;
19942      description14888      description
19943        "ORF capability";14889        "ORF capability";
19944    }14890    }
19945    leaf is-default-originate-not-disabled {14891    leaf is-default-originate-not-disabled {
19946      type boolean;14892      type boolean;
19947      description14893      description
n19948        "Flag to indicate defaultoriginate is notn14894        "TRUE if default-originate is not disabled";
19949         disabled";
19950    }
19951    leaf address-family-identifier {
19952      type string;
19953      description
19954        "Address Family Name";
19955    }14895    }
19956    leaf default-originate-route-policy {14896    leaf default-originate-route-policy {
19957      type string;14897      type string;
19958      description14898      description
n19959        "The name of the default-originateroute policy";n14899        "Default-originate route policy name";
19960    }14900    }
19961    leaf max-prefixes {14901    leaf max-prefixes {
19962      type uint32;14902      type uint32;
19963      description14903      description
19964        "Maximum prefixes to accept";14904        "Maximum prefixes to accept";
19965    }14905    }
19966    leaf max-prefix-warn-threshold {14906    leaf max-prefix-warn-threshold {
19967      type uint32;14907      type uint32;
19968      description14908      description
19969        "Warning message threshhold";14909        "Warning message threshhold";
19970    }14910    }
19971    leaf is-max-prefix-warn-only {14911    leaf is-max-prefix-warn-only {
19972      type boolean;14912      type boolean;
19973      description14913      description
19974        "Warning messages only";14914        "Warning messages only";
19975    }14915    }
19976    leaf max-prefix-restart-time {14916    leaf max-prefix-restart-time {
19977      type uint32;14917      type uint32;
19978      description14918      description
19979        "Restart time Value";14919        "Restart time Value";
19980    }14920    }
n19981    leaf orrg-roup-name {n
19982      type string;
19983      description
19984        "Name of Optimal Route reflectiongroup the
19985         neighbor is part of";
19986    }
19987    leaf is-max-prefix-discard-extra-paths {14921    leaf is-max-prefix-discard-extra-paths {
19988      type boolean;14922      type boolean;
19989      description14923      description
19990        "Discard extra paths";14924        "Discard extra paths";
19991    }14925    }
19992    leaf is-next-hop-self-disabled {14926    leaf is-next-hop-self-disabled {
19993      type boolean;14927      type boolean;
19994      description14928      description
19995        "Disable next-hop calc";14929        "Disable next-hop calc";
19996    }14930    }
19997    leaf is-next-hop-unchanged {14931    leaf is-next-hop-unchanged {
19998      type boolean;14932      type boolean;
19999      description14933      description
20000        "Don't change next-hop";14934        "Don't change next-hop";
20001    }14935    }
20002    leaf permanent-network {14936    leaf permanent-network {
20003      type boolean;14937      type boolean;
20004      description14938      description
n20005        "Flag to indicate BGP networkis permanent";n14939        "Permanent Network";
20006    }14940    }
20007    leaf route-policy-in {14941    leaf route-policy-in {
20008      type string;14942      type string;
20009      description14943      description
20010        "Inbound route policy name";14944        "Inbound route policy name";
20011    }14945    }
20012    leaf route-policy-out {14946    leaf route-policy-out {
20013      type string;14947      type string;
20014      description14948      description
20015        "Outbound route policy name";14949        "Outbound route policy name";
20016    }14950    }
20017    leaf prefix-orf-filter {14951    leaf prefix-orf-filter {
20018      type string;14952      type string;
20019      description14953      description
20020        "Inbound prefix based filter";14954        "Inbound prefix based filter";
20021    }14955    }
n20022    leaf route-policy-ret {n
20023      type string;
20024      description
20025        "Inbound route retention route-policy name";
20026    }
20027    leaf remove-private-as-out {14956    leaf remove-private-as-out {
20028      type boolean;14957      type boolean;
20029      description14958      description
20030        "Outbound private-AS removal";14959        "Outbound private-AS removal";
20031    }14960    }
20032    leaf entire-aspath-out {14961    leaf entire-aspath-out {
20033      type boolean;14962      type boolean;
20034      description14963      description
20035        "Outbound private-AS removalif the entire AS Path14964        "Outbound private-AS removalif the entire AS Path
20036         hasprivate ASes";14965         hasprivate ASes";
20037    }14966    }
n20038    leaf remove-private-as-int {n
20039      type boolean;
20040      description
20041        "Remove private-AS internalif the internal AS
20042         Path hasprivate ASes";
20043    }
20044    leaf remove-private-asin {14967    leaf remove-private-asin {
20045      type boolean;14968      type boolean;
20046      description14969      description
20047        "Inbound private-AS removal";14970        "Inbound private-AS removal";
20048    }14971    }
20049    leaf entire-aspath-in {14972    leaf entire-aspath-in {
20050      type boolean;14973      type boolean;
20051      description14974      description
20052        "Inbound private-AS removal if the entire AS Path14975        "Inbound private-AS removal if the entire AS Path
20053         has private ASes";14976         has private ASes";
20054    }14977    }
20055    leaf client-route-reflector {14978    leaf client-route-reflector {
20056      type boolean;14979      type boolean;
20057      description14980      description
20058        "Route-reflector client";14981        "Route-reflector client";
20059    }14982    }
20060    leaf accept-route-legacy-pe-rt {14983    leaf accept-route-legacy-pe-rt {
20061      type boolean;14984      type boolean;
20062      description14985      description
20063        "accept-legacy-pe RT route";14986        "accept-legacy-pe RT route";
20064    }14987    }
20065    leaf is-af-enabled {14988    leaf is-af-enabled {
20066      type boolean;14989      type boolean;
20067      description14990      description
20068        "Entity is activated for this address family";14991        "Entity is activated for this address family";
20069    }14992    }
20070    leaf send-community-attribute {14993    leaf send-community-attribute {
20071      type boolean;14994      type boolean;
20072      description14995      description
n20073        "Flag to indicate communityattribute is sent";n14996        "Send community attribute";
20074    }14997    }
20075    leaf send-graceful-shut-community-attributes {14998    leaf send-graceful-shut-community-attributes {
20076      type boolean;14999      type boolean;
20077      description15000      description
n20078        "Flag to indicate graceful shutdown relatedn15001        "Send Graceful shutdown related community
20079         community attributes are sent";15002         attributes";
20080    }15003    }
20081    leaf send-extended-community-attribute {15004    leaf send-extended-community-attribute {
20082      type boolean;15005      type boolean;
20083      description15006      description
n20084        "Flag to indicate BGP extended communityn15007        "Send extended community attribute";
20085         attribute is sent";
20086    }15008    }
20087    leaf soft-reconfig-not-disabled {15009    leaf soft-reconfig-not-disabled {
20088      type boolean;15010      type boolean;
20089      description15011      description
n20090        "Flag to indicate if BGP soft reconfiguration isn15012        "TRUE if soft reconf is not disabled";
20091         not disabled";
20092    }15013    }
20093    leaf alway-use-soft-reconfig {15014    leaf alway-use-soft-reconfig {
20094      type boolean;15015      type boolean;
20095      description15016      description
n20096        "Flag to indicate if soft reconfig is always used";n15017        "Always use soft reconfig";
20097    }15018    }
20098    leaf upd-orig-loopchk-disable {15019    leaf upd-orig-loopchk-disable {
20099      type boolean;15020      type boolean;
20100      description15021      description
20101        "Disable originator loop check";15022        "Disable originator loop check";
20102    }15023    }
20103    leaf site-of-origin {15024    leaf site-of-origin {
20104      type string;15025      type string;
20105      description15026      description
n20106        "The routes that are originatedfrom site";n15027        "Site of Origin";
20107    }15028    }
20108    leaf default-weight {15029    leaf default-weight {
20109      type uint32;15030      type uint32;
20110      description15031      description
n20111        "The default value of the BGP weight";n15032        "Default weight";
20112    }15033    }
20113    leaf default-allowas {15034    leaf default-allowas {
20114      type uint32;15035      type uint32;
20115      description15036      description
20116        "Default allowas_in count";15037        "Default allowas_in count";
n20117    }n
20118    leaf default-confed-allowas {
20119      type uint32;
20120      description
20121        "Default allowconfedas_in count";
20122    }
20123    leaf af-retention-stale-time {
20124      type uint32;
20125      description
20126        "Stale time in   route retention";
20127    }
20128    leaf af-ret-policy {
20129      type string;
20130      description
20131        "Retention route policy name";
20132    }15038    }
20133    leaf af-long-lived-graceful-restart-stale-time-send {15039    leaf af-long-lived-graceful-restart-stale-time-send {
20134      type uint32;15040      type uint32;
20135      description15041      description
20136        "Stale time to be sent in long-lived15042        "Stale time to be sent in long-lived
20137         graceful-restart capability";15043         graceful-restart capability";
20138    }15044    }
20139    leaf af-long-lived-graceful-restart-stale-time-accept {15045    leaf af-long-lived-graceful-restart-stale-time-accept {
20140      type uint32;15046      type uint32;
20141      description15047      description
20142        "Maxmimum acceptable long-lived stale time15048        "Maxmimum acceptable long-lived stale time
20143         acceptable from neighbor";15049         acceptable from neighbor";
20144    }15050    }
20145    leaf af-long-lived-graceful-restart-capable {15051    leaf af-long-lived-graceful-restart-capable {
20146      type uint32;15052      type uint32;
20147      description15053      description
n20148        "The time of the long-lived BGPgraceful-restart";n15054        "Long-lived graceful-restart capable";
20149    }15055    }
20150    leaf is-as-override-disabled {15056    leaf is-as-override-disabled {
20151      type boolean;15057      type boolean;
20152      description15058      description
20153        "Disable as override";15059        "Disable as override";
20154    }15060    }
20155    leaf is-aigp-enabled {15061    leaf is-aigp-enabled {
20156      type boolean;15062      type boolean;
20157      description15063      description
20158        "AIGP enabled";15064        "AIGP enabled";
20159    }15065    }
20160    leaf is-aigp-cost-community-enabled {15066    leaf is-aigp-cost-community-enabled {
20161      type boolean;15067      type boolean;
20162      description15068      description
n20163        "Flag to indicate cost of theAIGP community isn15069        "AIGP cost community enabled";
20164         enabled";
20165    }15070    }
20166    leaf is-aigp-cost-community-id {15071    leaf is-aigp-cost-community-id {
20167      type uint32;15072      type uint32;
20168      description15073      description
20169        "AIGP cost community ID";15074        "AIGP cost community ID";
20170    }15075    }
20171    leaf is-aigp-cost-community-transitive {15076    leaf is-aigp-cost-community-transitive {
20172      type uint32;15077      type uint32;
20173      description15078      description
20174        "AIGP cost community ID is transitive";15079        "AIGP cost community ID is transitive";
20175    }15080    }
20176    leaf aigp-cost-community-poi {15081    leaf aigp-cost-community-poi {
20177      type uint32;15082      type uint32;
20178      description15083      description
20179        "Point of insertion for AIGP cost community";15084        "Point of insertion for AIGP cost community";
20180    }15085    }
20181    leaf is-aigp-med-enabled {15086    leaf is-aigp-med-enabled {
20182      type boolean;15087      type boolean;
20183      description15088      description
20184        "AIGP to MED enabled";15089        "AIGP to MED enabled";
20185    }15090    }
20186    leaf accept-own {15091    leaf accept-own {
20187      type boolean;15092      type boolean;
20188      description15093      description
20189        "Accept Own";15094        "Accept Own";
20190    }15095    }
20191    leaf multipath {15096    leaf multipath {
20192      type boolean;15097      type boolean;
20193      description15098      description
n20194        "Flag to indicate BGP multipath";n15099        "multipath";
20195    }15100    }
20196    leaf is-fspec-valid-enabled {15101    leaf is-fspec-valid-enabled {
20197      type boolean;15102      type boolean;
20198      description15103      description
20199        "FSPEC VALID enabled";15104        "FSPEC VALID enabled";
20200    }15105    }
20201    leaf is-next-hop-unchanged-mpath {15106    leaf is-next-hop-unchanged-mpath {
20202      type boolean;15107      type boolean;
20203      description15108      description
20204        "Don't change mpath next-hop";15109        "Don't change mpath next-hop";
20205    }15110    }
20206    leaf is-send-mcast-attr-enabled {15111    leaf is-send-mcast-attr-enabled {
20207      type boolean;15112      type boolean;
20208      description15113      description
n20209        "Flag to indicate multicastattribute enabled isn15114        "Send mcast attr enabled";
20210         sent";
20211    }15115    }
20212    leaf advertise-v4 {15116    leaf advertise-v4 {
20213      type uint8;15117      type uint8;
20214      description15118      description
20215        "Advertise afi";15119        "Advertise afi";
20216    }15120    }
20217    leaf advertise-v6 {15121    leaf advertise-v6 {
20218      type uint8;15122      type uint8;
20219      description15123      description
20220        "Advertise afi";15124        "Advertise afi";
20221    }15125    }
20222    leaf advertise-l2vpn-evpn {15126    leaf advertise-l2vpn-evpn {
20223      type uint8;15127      type uint8;
20224      description15128      description
20225        "Advertise afi";15129        "Advertise afi";
20226    }15130    }
20227    leaf advertise-disable {15131    leaf advertise-disable {
20228      type uint8;15132      type uint8;
20229      description15133      description
20230        "Advertise afi";15134        "Advertise afi";
20231    }15135    }
20232    leaf advertise-def-vrf-imp-disable-v4 {15136    leaf advertise-def-vrf-imp-disable-v4 {
20233      type uint8;15137      type uint8;
20234      description15138      description
20235        "Advertise afi";15139        "Advertise afi";
20236    }15140    }
20237    leaf advertise-def-vrf-imp-disable-v6 {15141    leaf advertise-def-vrf-imp-disable-v6 {
20238      type uint8;15142      type uint8;
20239      description15143      description
20240        "Advertise afi";15144        "Advertise afi";
20241    }15145    }
20242    leaf advertise-vrf-re-imp-disable-v4 {15146    leaf advertise-vrf-re-imp-disable-v4 {
20243      type uint8;15147      type uint8;
20244      description15148      description
20245        "Advertise afi";15149        "Advertise afi";
20246    }15150    }
20247    leaf advertise-vrf-re-imp-disable-v6 {15151    leaf advertise-vrf-re-imp-disable-v6 {
20248      type uint8;15152      type uint8;
20249      description15153      description
20250        "Advertise afi";15154        "Advertise afi";
20251    }15155    }
20252    leaf advertise-vrf-evpn-re-imp-disable-v4 {15156    leaf advertise-vrf-evpn-re-imp-disable-v4 {
20253      type uint8;15157      type uint8;
20254      description15158      description
20255        "Advertise afi";15159        "Advertise afi";
20256    }15160    }
20257    leaf advertise-vrf-evpn-re-imp-disable-v6 {15161    leaf advertise-vrf-evpn-re-imp-disable-v6 {
20258      type uint8;15162      type uint8;
20259      description15163      description
20260        "Advertise afi";15164        "Advertise afi";
20261    }15165    }
20262    leaf encapsulation-type {15166    leaf encapsulation-type {
20263      type uint32;15167      type uint32;
20264      description15168      description
n20265        "The type of the BGP encapsulation";n15169        "Encapsulation type";
20266    }15170    }
20267    leaf import {15171    leaf import {
20268      type boolean;15172      type boolean;
20269      description15173      description
n20270        "Flag to indicate BGP importing";n15174        "Import";
20271    }15175    }
20272    leaf import-stitching {15176    leaf import-stitching {
20273      type boolean;15177      type boolean;
20274      description15178      description
n20275        "Flag to indicate if BGP stitching RTs aren15179        "Import stitching RTs";
20276         imported";
20277    }15180    }
20278    leaf import-reoriginate {15181    leaf import-reoriginate {
20279      type boolean;15182      type boolean;
20280      description15183      description
n20281        "Flag to indicate reoriginate import";n15184        "Import reoriginate";
20282    }15185    }
20283    leaf import-reoriginate-stitching {15186    leaf import-reoriginate-stitching {
20284      type boolean;15187      type boolean;
20285      description15188      description
n20286        "Flag to indicate reoriginate stitchingisn15189        "Import reoriginate stitching RTs";
20287         imported in RTs";
20288    }15190    }
20289    leaf advertise-local-labeled-route {15191    leaf advertise-local-labeled-route {
20290      type uint32;15192      type uint32;
20291      description15193      description
20292        "Advertise routes with local-label";15194        "Advertise routes with local-label";
20293    }15195    }
20294    leaf enforce-multiple-labels {15196    leaf enforce-multiple-labels {
20295      type uint32;15197      type uint32;
20296      description15198      description
n20297        "BGP multiple labels enforced";n15199        "Enforce multiple labels";
20298    }
20299    leaf srv6-version4 {
20300      type boolean;
20301      description
20302        "SRV6 Version4 compatible neighbor";
20303    }
20304    leaf cluster-id-check-disabled {
20305      type boolean;
20306      description
20307        "Flag to indicate cluster ID check is disabled.
20308         This allows BGP to accept routes that may
20309         contain a cluster list in which the first
20310         cluster ID is not equal to the router's own
20311         cluster ID.";
20312    }
20313    leaf slow-peer-static-flag {
20314      type boolean;
20315      description
20316        "Slow peer static enabled";
20317    }
20318    leaf slow-peer-dynamic-flag {
20319      type boolean;
20320      description
20321        "Slow peer dynamic enabled";
20322    }
20323    leaf slow-peer-dynamic-threshold {
20324      type uint16;
20325      description
20326        "Threshold for dynamic slow peer detection";
20327    }
20328    leaf slow-peer-dynamic-disable {
20329      type boolean;
20330      description
20331        "Slow peer dynamic disable";
20332    }
20333    leaf rpki-options {
20334      type uint32;
20335      description
20336        "Options to indicate if rpki tested paths are to
20337         be stored";
20338    }
20339    leaf entropy-label-advertise-disable {
20340      type boolean;
20341      description
20342        "Disable Entropy Label propagation";
20343    }
20344    leaf replace-private-as-out {
20345      type boolean;
20346      description
20347        "Outbound private-AS replace";
20348    }
20349    leaf addpath-receive-capability {
20350      type uint32;
20351      description
20352        "Indicates if addpath receive capability is
20353         enabled or disabled";
20354    }
20355    leaf addpath-send-capability {
20356      type uint32;
20357      description
20358        "Indicates if addpath send capability is enabled
20359         or disabled";
20360    }
20361    leaf evpn-gateway-ip-advertisement-disable {
20362      type boolean;
20363      description
20364        "EVPN Gateway IP Advertisement Disable";
20365    }15200    }
20366  }15201  }
2036715202
20368  grouping BGP-CONFIG-ENTID {15203  grouping BGP-CONFIG-ENTID {
20369    description15204    description
20370      "BGP config group entity identification";15205      "BGP config group entity identification";
20371    list bgp-config-entid {15206    list bgp-config-entid {
20372      description15207      description
n20373        "Next entry in the list";n15208        "bgp config entid";
20374      container neighbor-address {15209      container neighbor-address {
20375        description15210        description
n20376          "Ip address of the neighor";n15211          "Neighbor Address";
20377        uses BGP-ADDRTYPE;15212        uses BGP-ADDRTYPE;
20378      }15213      }
20379      leaf address-family-identifier {15214      leaf address-family-identifier {
n20380        type string;n15215        type uint8;
20381        description15216        description
n20382          "Identifier of the BGPconfig group entity";n15217          "Address family identfier";
20383      }15218      }
20384      leaf configuration-type {15219      leaf configuration-type {
20385        type Bgp-entities;15220        type Bgp-entities;
20386        description15221        description
20387          "Entity type";15222          "Entity type";
20388      }15223      }
20389      leaf group-name {15224      leaf group-name {
20390        type string;15225        type string;
20391        description15226        description
n20392          "Name of the BGP configgroup entity";n15227          "Group name";
20393      }15228      }
20394    }15229    }
20395  }15230  }
2039615231
20397  grouping BGP-CONFIG-INFO {15232  grouping BGP-CONFIG-INFO {
20398    description15233    description
20399      "BGP item config information";15234      "BGP item config information";
20400    container inheritance-chain {15235    container inheritance-chain {
20401      description15236      description
20402        "Pointer to the inheritance chain";15237        "Pointer to the inheritance chain";
20403      uses BGP-CONFIG-ENTID;15238      uses BGP-CONFIG-ENTID;
20404    }15239    }
20405    leaf is-item-configured {15240    leaf is-item-configured {
20406      type boolean;15241      type boolean;
20407      description15242      description
20408        "TRUE if the item value is a configured value15243        "TRUE if the item value is a configured value
20409         different from the default";15244         different from the default";
20410    }15245    }
20411  }15246  }
2041215247
20413  grouping BGP-AF-INDEP {15248  grouping BGP-AF-INDEP {
20414    description15249    description
20415      "BGP AF-independent configuration information";15250      "BGP AF-independent configuration information";
20416    container local-ip-address {15251    container local-ip-address {
20417      description15252      description
20418        "Local ipv4 or ipv6 address for neighbor15253        "Local ipv4 or ipv6 address for neighbor
20419         connection";15254         connection";
20420      uses BGP-ADDRTYPE;15255      uses BGP-ADDRTYPE;
20421    }15256    }
20422    container local-address-subnet {15257    container local-address-subnet {
20423      description15258      description
20424        "local address ipv4 or ipv6 address mask";15259        "local address ipv4 or ipv6 address mask";
20425      uses BGP-ADDRTYPE;15260      uses BGP-ADDRTYPE;
20426    }15261    }
20427    container remote-as-info {15262    container remote-as-info {
20428      description15263      description
20429        "Remote AS number item info";15264        "Remote AS number item info";
20430      uses BGP-CONFIG-INFO;15265      uses BGP-CONFIG-INFO;
20431    }15266    }
20432    container speaker-id-info {15267    container speaker-id-info {
20433      description15268      description
20434        "Configured speaker ID item info";15269        "Configured speaker ID item info";
20435      uses BGP-CONFIG-INFO;15270      uses BGP-CONFIG-INFO;
20436    }15271    }
20437    container min-advertisement-info {15272    container min-advertisement-info {
20438      description15273      description
20439        "Minimum advertisement interval item info";15274        "Minimum advertisement interval item info";
20440      uses BGP-CONFIG-INFO;15275      uses BGP-CONFIG-INFO;
20441    }15276    }
20442    container description-info {15277    container description-info {
20443      description15278      description
n20444        "Description informationof BGP configuration";n15279        "Description item info";
20445      uses BGP-CONFIG-INFO;15280      uses BGP-CONFIG-INFO;
20446    }15281    }
20447    container ebgp-hop-count-info {15282    container ebgp-hop-count-info {
20448      description15283      description
20449        "EBGP neighbors hop count item info";15284        "EBGP neighbors hop count item info";
20450      uses BGP-CONFIG-INFO;15285      uses BGP-CONFIG-INFO;
20451    }15286    }
20452    container tcpmss-info {15287    container tcpmss-info {
20453      description15288      description
20454        "TCP Maximum Segment Size item info";15289        "TCP Maximum Segment Size item info";
20455      uses BGP-CONFIG-INFO;15290      uses BGP-CONFIG-INFO;
20456    }15291    }
n20457    container tcpmtu-info {n
20458      description
20459        "TCP Path MTU Discovery item info";
20460      uses BGP-CONFIG-INFO;
20461    }
20462    container bmp-servers-info {15292    container bmp-servers-info {
20463      description15293      description
20464        "BMP Servers Configuredinfo";15294        "BMP Servers Configuredinfo";
20465      uses BGP-CONFIG-INFO;15295      uses BGP-CONFIG-INFO;
20466    }15296    }
20467    container keychain-info {15297    container keychain-info {
20468      description15298      description
20469        "Neighbor Keychain item info";15299        "Neighbor Keychain item info";
20470      uses BGP-CONFIG-INFO;15300      uses BGP-CONFIG-INFO;
20471    }15301    }
20472    container local-as-info {15302    container local-as-info {
20473      description15303      description
20474        "Local AS number item info";15304        "Local AS number item info";
20475      uses BGP-CONFIG-INFO;15305      uses BGP-CONFIG-INFO;
20476    }15306    }
20477    container password-info {15307    container password-info {
20478      description15308      description
20479        "Neighbor password item info";15309        "Neighbor password item info";
20480      uses BGP-CONFIG-INFO;15310      uses BGP-CONFIG-INFO;
20481    }15311    }
20482    container receive-buffer-info {15312    container receive-buffer-info {
20483      description15313      description
20484        "Receive buffer sizes item info";15314        "Receive buffer sizes item info";
20485      uses BGP-CONFIG-INFO;15315      uses BGP-CONFIG-INFO;
20486    }15316    }
20487    container send-buffer-info {15317    container send-buffer-info {
20488      description15318      description
20489        "Send buffer sizes item info";15319        "Send buffer sizes item info";
20490      uses BGP-CONFIG-INFO;15320      uses BGP-CONFIG-INFO;
20491    }15321    }
20492    container shutdown-info {15322    container shutdown-info {
20493      description15323      description
20494        "Shutdown item info";15324        "Shutdown item info";
20495      uses BGP-CONFIG-INFO;15325      uses BGP-CONFIG-INFO;
20496    }15326    }
20497    container timers-info {15327    container timers-info {
20498      description15328      description
20499        "Timers item info";15329        "Timers item info";
20500      uses BGP-CONFIG-INFO;15330      uses BGP-CONFIG-INFO;
20501    }15331    }
20502    container local-address-info {15332    container local-address-info {
20503      description15333      description
n20504        "Local address for theBGP configuration";n15334        "Local address item info";
20505      uses BGP-CONFIG-INFO;15335      uses BGP-CONFIG-INFO;
20506    }15336    }
20507    container msg-log-in-info {15337    container msg-log-in-info {
20508      description15338      description
20509        "Message Log Inbound item info";15339        "Message Log Inbound item info";
20510      uses BGP-CONFIG-INFO;15340      uses BGP-CONFIG-INFO;
20511    }15341    }
20512    container msg-log-out-info {15342    container msg-log-out-info {
20513      description15343      description
20514        "Message Log Outbound item info";15344        "Message Log Outbound item info";
20515      uses BGP-CONFIG-INFO;15345      uses BGP-CONFIG-INFO;
20516    }15346    }
20517    container update-source-info {15347    container update-source-info {
20518      description15348      description
n20519        "Updating the source information";n15349        "Update source item info";
20520      uses BGP-CONFIG-INFO;15350      uses BGP-CONFIG-INFO;
20521    }15351    }
20522    container local-address-subnet-info {15352    container local-address-subnet-info {
20523      description15353      description
n20524        "Local address of the subnet";n15354        "Local address subnet item info";
20525      uses BGP-CONFIG-INFO;15355      uses BGP-CONFIG-INFO;
20526    }15356    }
20527    container dmz-link-bandwidth-info {15357    container dmz-link-bandwidth-info {
20528      description15358      description
20529        "DMZ link bandwidth item ";15359        "DMZ link bandwidth item ";
20530      uses BGP-CONFIG-INFO;15360      uses BGP-CONFIG-INFO;
20531    }15361    }
20532    container ebgp-recv-dmz-info {15362    container ebgp-recv-dmz-info {
20533      description15363      description
20534        "EBGP receive DMZ link bandwidth item info";15364        "EBGP receive DMZ link bandwidth item info";
20535      uses BGP-CONFIG-INFO;15365      uses BGP-CONFIG-INFO;
20536    }15366    }
20537    container ebgp-send-dmz-info {15367    container ebgp-send-dmz-info {
20538      description15368      description
20539        "EBGP send DMZ link bandwidth item info";15369        "EBGP send DMZ link bandwidth item info";
20540      uses BGP-CONFIG-INFO;15370      uses BGP-CONFIG-INFO;
20541    }15371    }
20542    container ttl-security-info {15372    container ttl-security-info {
20543      description15373      description
20544        "BGP TTL Security item info";15374        "BGP TTL Security item info";
20545      uses BGP-CONFIG-INFO;15375      uses BGP-CONFIG-INFO;
20546    }15376    }
nn15377    container suppress4-bbyte-as-info {
15378      description
15379        "BGP suppress 4byte-as item info";
15380      uses BGP-CONFIG-INFO;
15381    }
20547    container session-open-mode-info {15382    container session-open-mode-info {
20548      description15383      description
20549        "TCP conn open mode info";15384        "TCP conn open mode info";
20550      uses BGP-CONFIG-INFO;15385      uses BGP-CONFIG-INFO;
20551    }15386    }
20552    container bfd-info {15387    container bfd-info {
20553      description15388      description
20554        "BFD item info";15389        "BFD item info";
20555      uses BGP-CONFIG-INFO;15390      uses BGP-CONFIG-INFO;
20556    }15391    }
20557    container bfd-mininterval-info {15392    container bfd-mininterval-info {
20558      description15393      description
20559        "BFD Mininterval item info";15394        "BFD Mininterval item info";
20560      uses BGP-CONFIG-INFO;15395      uses BGP-CONFIG-INFO;
20561    }15396    }
20562    container bfd-multiplier-info {15397    container bfd-multiplier-info {
20563      description15398      description
20564        "BFD Multiplier item info";15399        "BFD Multiplier item info";
20565      uses BGP-CONFIG-INFO;15400      uses BGP-CONFIG-INFO;
20566    }15401    }
20567    container tos-info {15402    container tos-info {
20568      description15403      description
20569        "TOS item info";15404        "TOS item info";
20570      uses BGP-CONFIG-INFO;15405      uses BGP-CONFIG-INFO;
20571    }15406    }
20572    container nsr-disabled-info {15407    container nsr-disabled-info {
20573      description15408      description
20574        "NSR item info";15409        "NSR item info";
20575      uses BGP-CONFIG-INFO;15410      uses BGP-CONFIG-INFO;
20576    }15411    }
20577    container graceful-restart-disabled-info {15412    container graceful-restart-disabled-info {
20578      description15413      description
n20579        "Information of disabled gracefulrestart";n15414        "Graceful-restart item info";
20580      uses BGP-CONFIG-INFO;
20581    }
20582    container graceful-restart-helper-info {
20583      description
20584        "Information of helper mode gracefulrestart";
20585      uses BGP-CONFIG-INFO;15415      uses BGP-CONFIG-INFO;
20586    }15416    }
20587    container nbr-restart-time-info {15417    container nbr-restart-time-info {
20588      description15418      description
20589        "Restart time item info";15419        "Restart time item info";
20590      uses BGP-CONFIG-INFO;15420      uses BGP-CONFIG-INFO;
20591    }15421    }
20592    container nbr-stale-path-time-info {15422    container nbr-stale-path-time-info {
20593      description15423      description
20594        "Stale-path time item info";15424        "Stale-path time item info";
20595      uses BGP-CONFIG-INFO;15425      uses BGP-CONFIG-INFO;
20596    }15426    }
20597    container nbr-enforce-first-as-info {15427    container nbr-enforce-first-as-info {
20598      description15428      description
20599        "Neighbor enforce first AS info";15429        "Neighbor enforce first AS info";
20600      uses BGP-CONFIG-INFO;15430      uses BGP-CONFIG-INFO;
20601    }15431    }
20602    container cluster-id-info {15432    container cluster-id-info {
20603      description15433      description
20604        "Cluster ID item info";15434        "Cluster ID item info";
20605      uses BGP-CONFIG-INFO;15435      uses BGP-CONFIG-INFO;
20606    }15436    }
20607    container ignore-connected-info {15437    container ignore-connected-info {
20608      description15438      description
n20609        "Connection information is ignored";n15439        "Ignore Connected Info";
20610      uses BGP-CONFIG-INFO;15440      uses BGP-CONFIG-INFO;
20611    }15441    }
20612    container internal-vpn-client-info {15442    container internal-vpn-client-info {
20613      description15443      description
20614        "Internal VPN Client Info";15444        "Internal VPN Client Info";
20615      uses BGP-CONFIG-INFO;15445      uses BGP-CONFIG-INFO;
20616    }15446    }
20617    container addpath-send-capability-info {15447    container addpath-send-capability-info {
20618      description15448      description
n20619        "BGP configuration additional pathcapability ofn15449        "Addpath send capability info";
20620         sending";
20621      uses BGP-CONFIG-INFO;15450      uses BGP-CONFIG-INFO;
20622    }15451    }
20623    container addpath-receive-capability-info {15452    container addpath-receive-capability-info {
20624      description15453      description
n20625        "BGP configuration additional pathcapability ofn15454        "Addpath receive capability info";
20626         receiving";
20627      uses BGP-CONFIG-INFO;15455      uses BGP-CONFIG-INFO;
20628    }15456    }
20629    container egress-peer-engineering-info {15457    container egress-peer-engineering-info {
20630      description15458      description
n20631        "Information for the peers egresstraffic";n15459        "Egress Peer Engineering info";
20632      uses BGP-CONFIG-INFO;
20633    }
20634    container epe-peer-set-segment-id-info {
20635      description
20636        "Information for the EPE Peer set";
20637      uses BGP-CONFIG-INFO;
20638    }
20639    container epe-peer-segment-id-info {
20640      description
20641        "Information for the EPE Peer SID";
20642      uses BGP-CONFIG-INFO;
20643    }
20644    container update-in-error-handling-info {
20645      description
20646        "Error-handling update in error handling info";
20647      uses BGP-CONFIG-INFO;15460      uses BGP-CONFIG-INFO;
20648    }15461    }
20649    container update-error-handling-no-reset-info {15462    container update-error-handling-no-reset-info {
20650      description15463      description
20651        "Error-handling avoid-reset config info";15464        "Error-handling avoid-reset config info";
20652      uses BGP-CONFIG-INFO;15465      uses BGP-CONFIG-INFO;
20653    }15466    }
n20654    container update-error-handling-treat-as-withdraw-info {n
20655      description
20656        "Error-handling treat-as-withdraw config info";
20657      uses BGP-CONFIG-INFO;
20658    }
20659    container prefix-validation-disable-info {15467    container prefix-validation-disable-info {
20660      description15468      description
20661        "RPKI disable info";15469        "RPKI disable info";
20662      uses BGP-CONFIG-INFO;15470      uses BGP-CONFIG-INFO;
20663    }15471    }
20664    container prefix-validation-use-validit-info {15472    container prefix-validation-use-validit-info {
20665      description15473      description
20666        "RPKI use validity";15474        "RPKI use validity";
20667      uses BGP-CONFIG-INFO;15475      uses BGP-CONFIG-INFO;
20668    }15476    }
20669    container prefix-validation-allow-invalid-info {15477    container prefix-validation-allow-invalid-info {
20670      description15478      description
20671        "RPKI allow invalid info";15479        "RPKI allow invalid info";
20672      uses BGP-CONFIG-INFO;15480      uses BGP-CONFIG-INFO;
20673    }15481    }
20674    container prefix-validation-signal-ibgp-info {15482    container prefix-validation-signal-ibgp-info {
20675      description15483      description
20676        "RPKI signal ibgp info";15484        "RPKI signal ibgp info";
20677      uses BGP-CONFIG-INFO;15485      uses BGP-CONFIG-INFO;
20678    }15486    }
20679    container neighbor-update-filter-exists-info {15487    container neighbor-update-filter-exists-info {
20680      description15488      description
20681        "Neighbor update filter configuration info";15489        "Neighbor update filter configuration info";
20682      uses BGP-CONFIG-INFO;15490      uses BGP-CONFIG-INFO;
20683    }15491    }
20684    container neighbor-update-filter-message-buffer-count-info {15492    container neighbor-update-filter-message-buffer-count-info {
20685      description15493      description
n20686        "Number of neighbor messages filtered";n15494        "Neighbor update filter message buffer count info";
20687      uses BGP-CONFIG-INFO;15495      uses BGP-CONFIG-INFO;
20688    }15496    }
20689    container neighbor-update-filter-syslog-disable-info {15497    container neighbor-update-filter-syslog-disable-info {
20690      description15498      description
n20691        "Update in filtering loggingdisable";n15499        "Neighbor update filter syslog disable info";
20692      uses BGP-CONFIG-INFO;15500      uses BGP-CONFIG-INFO;
20693    }15501    }
20694    container neighbor-update-filter-attribute-info {15502    container neighbor-update-filter-attribute-info {
20695      description15503      description
n20696        "Update in filteringattribute filter group";n15504        "Neighbor update filter attribute-filter group
15505         info";
20697      uses BGP-CONFIG-INFO;15506      uses BGP-CONFIG-INFO;
20698    }15507    }
20699    container graceful-shutdown-info {15508    container graceful-shutdown-info {
20700      description15509      description
n20701        "Graceful BGP session shutdown";n15510        "GracefulShutdown info";
20702      uses BGP-CONFIG-INFO;15511      uses BGP-CONFIG-INFO;
20703    }15512    }
20704    container graceful-shutdown-loc-pref-info {15513    container graceful-shutdown-loc-pref-info {
20705      description15514      description
n20706        "The local prefrence for graceful shutdown";n15515        "GracefulShutdownLocPref info";
20707      uses BGP-CONFIG-INFO;15516      uses BGP-CONFIG-INFO;
20708    }15517    }
20709    container graceful-shutdown-as-prepends-info {15518    container graceful-shutdown-as-prepends-info {
20710      description15519      description
20711        "GracefulShutdownASPrepends info";15520        "GracefulShutdownASPrepends info";
20712      uses BGP-CONFIG-INFO;15521      uses BGP-CONFIG-INFO;
20713    }15522    }
20714    container graceful-shutdown-activate-info {15523    container graceful-shutdown-activate-info {
20715      description15524      description
n20716        "Information for the activation ofgracefuln15525        "GracefulShutdownAcivate info";
20717         shutdown";
20718      uses BGP-CONFIG-INFO;
20719    }
20720    container graceful-shutdown-bandwidth-aware-info {
20721      description
20722        "Bandwidth-Aware Graceful-Maintenance
20723         configuration info";
20724      uses BGP-CONFIG-INFO;15526      uses BGP-CONFIG-INFO;
20725    }15527    }
20726    container update-in-safi14-merge-info {15528    container update-in-safi14-merge-info {
20727      description15529      description
20728        "Merge SAFI-1 and SAFI-4 updates from neighbor15530        "Merge SAFI-1 and SAFI-4 updates from neighbor
20729         info";15531         info";
20730      uses BGP-CONFIG-INFO;15532      uses BGP-CONFIG-INFO;
20731    }15533    }
20732    container capability-negotiation-suppressed-info {15534    container capability-negotiation-suppressed-info {
20733      description15535      description
n20734        "Information for the negotiation of suppressedn15536        "Capability negotiation suppressed info";
20735         capability";
20736      uses BGP-CONFIG-INFO;
20737    }
20738    container suppress4-bbyte-as-info {
20739      description
20740        "BGP suppress 4byte-as item info";
20741      uses BGP-CONFIG-INFO;15537      uses BGP-CONFIG-INFO;
20742    }15538    }
20743    container neighbor-remote-as-list-info {15539    container neighbor-remote-as-list-info {
20744      description15540      description
20745        "Neighbor range  remote-as-list group info";15541        "Neighbor range  remote-as-list group info";
20746      uses BGP-CONFIG-INFO;15542      uses BGP-CONFIG-INFO;
20747    }15543    }
20748    container max-peers-info {15544    container max-peers-info {
20749      description15545      description
20750        "Max dynamic nbrs in range info";15546        "Max dynamic nbrs in range info";
20751      uses BGP-CONFIG-INFO;15547      uses BGP-CONFIG-INFO;
20752    }15548    }
20753    container idle-watch-time-info {15549    container idle-watch-time-info {
20754      description15550      description
20755        "Idle Watch time item info";15551        "Idle Watch time item info";
20756      uses BGP-CONFIG-INFO;15552      uses BGP-CONFIG-INFO;
20757    }15553    }
20758    container ao-keychain-info {15554    container ao-keychain-info {
20759      description15555      description
20760        "Neighbor AO keychain item info";15556        "Neighbor AO keychain item info";
20761      uses BGP-CONFIG-INFO;15557      uses BGP-CONFIG-INFO;
20762    }15558    }
n20763    container extended-nh-encoding-capability-suppressed-info {n
20764      description
20765        "Information for the extended nexthop encoding
20766         capability";
20767      uses BGP-CONFIG-INFO;
20768    }
20769    container default-policy-action-inbound-info {
20770      description
20771        "Information on default policy action when
20772         inbound policy is not satidfied";
20773      uses BGP-CONFIG-INFO;
20774    }
20775    container default-policy-action-outbound-info {
20776      description
20777        "Information on default policy action when
20778         outbound policy is not satidfied";
20779      uses BGP-CONFIG-INFO;
20780    }
20781    container log-up-down-configured-info {
20782      description
20783        "Neighbor log state change enabled";
20784      uses BGP-CONFIG-INFO;
20785    }
20786    container log-up-down-disable-configured-info {
20787      description
20788        "Neighbor log state change disabled";
20789      uses BGP-CONFIG-INFO;
20790    }
20791    container maximum-prefix-restart-time-info {
20792      description
20793        "Information on Max Prefix Restart timer";
20794      uses BGP-CONFIG-INFO;
20795    }
20796    container evpn-link-bandwidth-info {
20797      description
20798        "EVPN Link Bandwidth Info ";
20799      uses BGP-CONFIG-INFO;
20800    }
20801    container dampening-info {
20802      description
20803        "Information on dampening configuration";
20804      uses BGP-CONFIG-INFO;
20805    }
20806    container allowas-in-info {
20807      description
20808        "Allowas-in item info";
20809      uses BGP-CONFIG-INFO;
20810    }
20811    container sent-community-to-neighbor-info {
20812      description
20813        "Information on Send Community";
20814      uses BGP-CONFIG-INFO;
20815    }
20816    container sent-extended-community-to-neighbor-info {
20817      description
20818        "Information on Send ExtendedCommunity";
20819      uses BGP-CONFIG-INFO;
20820    }
20821    container as-override-info {
20822      description
20823        "Overriding the autonomous number";
20824      uses BGP-CONFIG-INFO;
20825    }
20826    container nbr-disable-peer-as-info {
20827      description
20828        "NBR Disable Peer AS";
20829      uses BGP-CONFIG-INFO;
20830    }
20831    container nbr-fast-fallover-info {
20832      description
20833        "Nbr Fast Fallover item info";
20834      uses BGP-CONFIG-INFO;
20835    }
20836    container ipfwd-preferred-info {
20837      description
20838        "IP Frowarding Info";
20839      uses BGP-CONFIG-INFO;
20840    }
20841    leaf remote-as-number-xx {15559    leaf remote-as-number-xx {
20842      type uint32;15560      type uint32;
20843      description15561      description
20844        "First half of Remote ASN";15562        "First half of Remote ASN";
20845    }15563    }
20846    leaf remote-as-number-yy {15564    leaf remote-as-number-yy {
20847      type uint32;15565      type uint32;
20848      description15566      description
20849        "Second half of Remote ASN";15567        "Second half of Remote ASN";
20850    }15568    }
20851    leaf configured-speaker-id {15569    leaf configured-speaker-id {
20852      type uint32;15570      type uint32;
20853      description15571      description
n20854        "Identification for the configuredspeaker";n15572        "Configured speaker ID";
20855    }15573    }
20856    leaf tcp-mss {15574    leaf tcp-mss {
20857      type uint32;15575      type uint32;
20858      description15576      description
20859        "Maximum Segment Size";15577        "Maximum Segment Size";
20860    }15578    }
n20861    leaf tcp-mtu {n
20862      type uint32;
20863      description
20864        "TCP Path MTU Discovery enabled";
20865    }
20866    leaf min-advertisement-interval {15579    leaf min-advertisement-interval {
20867      type uint32;15580      type uint32;
nn15581      units "second";
20868      description15582      description
n20869        "Minimum amount of time beforesending ann15583        "Minimum advertisement interval, secs part";
20870         advertisement";
20871    }15584    }
20872    leaf min-advertisement-interval-msecs {15585    leaf min-advertisement-interval-msecs {
20873      type uint32;15586      type uint32;
20874      units "millisecond";15587      units "millisecond";
20875      description15588      description
n20876        "Minimum advertisement time between updates for an15589        "Minimum advertisement interval, msecs part";
20877         neighborsession in  milliseconds";
20878    }15590    }
20879    leaf description {15591    leaf description {
20880      type string;15592      type string;
20881      description15593      description
n20882        "BGP address-family independentconfigurationn
20883         description";15594        "Description";
20884    }15595    }
20885    leaf ebgp-hop-count {15596    leaf ebgp-hop-count {
20886      type uint32;15597      type uint32;
20887      description15598      description
20888        "EBGP neighbors hop count";15599        "EBGP neighbors hop count";
20889    }15600    }
20890    leaf bmp-servers {15601    leaf bmp-servers {
20891      type uint32;15602      type uint32;
20892      description15603      description
20893        "BMP Servers activated";15604        "BMP Servers activated";
20894    }15605    }
20895    leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {15606    leaf is-ebgp-multihop-bgp-mpls-forwarding-disabled {
20896      type boolean;15607      type boolean;
20897      description15608      description
20898        "If true, MPLS and NULL rewrite is disabled; if15609        "If true, MPLS and NULL rewrite is disabled; if
20899         false, it is enabled";15610         false, it is enabled";
20900    }15611    }
20901    leaf keychain {15612    leaf keychain {
20902      type string;15613      type string;
20903      description15614      description
20904        "Neighbor keychain Name";15615        "Neighbor keychain Name";
20905    }15616    }
20906    leaf local-as-number-xx {15617    leaf local-as-number-xx {
20907      type uint32;15618      type uint32;
20908      description15619      description
20909        "First half of Local ASN";15620        "First half of Local ASN";
20910    }15621    }
20911    leaf local-as-number-yy {15622    leaf local-as-number-yy {
20912      type uint32;15623      type uint32;
20913      description15624      description
20914        "Second half of Local ASN";15625        "Second half of Local ASN";
20915    }15626    }
20916    leaf local-as-no-prepend {15627    leaf local-as-no-prepend {
20917      type boolean;15628      type boolean;
20918      description15629      description
20919        "Local AS no-prepend option";15630        "Local AS no-prepend option";
20920    }15631    }
20921    leaf password {15632    leaf password {
20922      type string;15633      type string;
20923      description15634      description
20924        "Neighbor password";15635        "Neighbor password";
20925    }15636    }
20926    leaf socket-buffer-receive-size {15637    leaf socket-buffer-receive-size {
20927      type uint32;15638      type uint32;
20928      description15639      description
20929        "Socket receive buffer size";15640        "Socket receive buffer size";
20930    }15641    }
20931    leaf bgp-buffer-receive-size {15642    leaf bgp-buffer-receive-size {
20932      type uint32;15643      type uint32;
20933      description15644      description
20934        "BGP receive buffer size";15645        "BGP receive buffer size";
20935    }15646    }
20936    leaf socket-buffer-send-size {15647    leaf socket-buffer-send-size {
20937      type uint32;15648      type uint32;
20938      description15649      description
20939        "Socket send buffer size";15650        "Socket send buffer size";
20940    }15651    }
20941    leaf bgp-buffer-send-size {15652    leaf bgp-buffer-send-size {
20942      type uint32;15653      type uint32;
20943      description15654      description
20944        "BGP send buffer size";15655        "BGP send buffer size";
20945    }15656    }
20946    leaf adminstrative-shutdown {15657    leaf adminstrative-shutdown {
20947      type boolean;15658      type boolean;
20948      description15659      description
n20949        "Flag to indicate peer is administrativelyn15660        "Administrative shutdown";
20950         shutdown";
20951    }15661    }
20952    leaf keepalive-interval {15662    leaf keepalive-interval {
20953      type uint32;15663      type uint32;
20954      description15664      description
n20955        "Timer for the keepalive event";n15665        "Keepalive interval";
20956    }15666    }
20957    leaf hold-time-value {15667    leaf hold-time-value {
20958      type uint32;15668      type uint32;
20959      description15669      description
20960        "Holdtime";15670        "Holdtime";
20961    }15671    }
20962    leaf min-acc-hold-time-value {15672    leaf min-acc-hold-time-value {
20963      type uint32;15673      type uint32;
20964      description15674      description
20965        "Min acceptable holdtimefrom neighbor";15675        "Min acceptable holdtimefrom neighbor";
20966    }15676    }
20967    leaf msg-log-in-buf-count {15677    leaf msg-log-in-buf-count {
20968      type uint32;15678      type uint32;
20969      description15679      description
n20970        "Message Log buffer Inbound count";n15680        "Message Log Inbound buffer count";
20971    }15681    }
20972    leaf msg-log-out-buf-count {15682    leaf msg-log-out-buf-count {
20973      type uint32;15683      type uint32;
20974      description15684      description
n20975        "Message Log buffer Outbound count";n15685        "Message Log Outbound buffer count";
20976    }15686    }
20977    leaf route-updates-source {15687    leaf route-updates-source {
20978      type string;15688      type string;
20979      description15689      description
20980        "Source of routing updates";15690        "Source of routing updates";
20981    }15691    }
20982    leaf local-address-subnet-len {15692    leaf local-address-subnet-len {
20983      type uint32;15693      type uint32;
20984      description15694      description
20985        "local address prefix len";15695        "local address prefix len";
20986    }15696    }
20987    leaf dmz-link-bandwidth {15697    leaf dmz-link-bandwidth {
20988      type uint32;15698      type uint32;
20989      description15699      description
20990        "Propagate the DMZ link bandwidth";15700        "Propagate the DMZ link bandwidth";
20991    }15701    }
20992    leaf ebgp-recv-dmz {15702    leaf ebgp-recv-dmz {
20993      type uint32;15703      type uint32;
20994      description15704      description
20995        "Receive Bandwidth of link to single-hop eBGP15705        "Receive Bandwidth of link to single-hop eBGP
20996         peer";15706         peer";
20997    }15707    }
20998    leaf ebgp-send-dmz-mode {15708    leaf ebgp-send-dmz-mode {
20999      type Bgp-ebgp-send-dmz-enable-mode;15709      type Bgp-ebgp-send-dmz-enable-mode;
21000      description15710      description
21001        "Send DMZ link bandwidthto ebgp peer";15711        "Send DMZ link bandwidthto ebgp peer";
21002    }15712    }
21003    leaf ttl-security {15713    leaf ttl-security {
21004      type uint32;15714      type uint32;
21005      description15715      description
21006        "Enable BGP TTL Security";15716        "Enable BGP TTL Security";
21007    }15717    }
nn15718    leaf suppress4-byte-as {
15719      type uint32;
15720      description
15721        "Suppress BGP 4byteas Cap";
15722    }
21008    leaf update-in-safi14-merge {15723    leaf update-in-safi14-merge {
21009      type uint32;15724      type uint32;
21010      description15725      description
21011        "Merge SAFI-1 and SAFI-4 updates from neighbor";15726        "Merge SAFI-1 and SAFI-4 updates from neighbor";
21012    }15727    }
21013    leaf capability-negotiation-suppressed {15728    leaf capability-negotiation-suppressed {
21014      type uint32;15729      type uint32;
21015      description15730      description
n21016        "Disabling the capabilitynegotiation completely";n15731        "Capability negotiation is suppressed";
21017    }
21018    leaf four-byte-as-capability-suppressed {
21019      type uint32;
21020      description
21021        "Suppressing the 4-byte AS capability";
21022    }
21023    leaf extended-nh-encoding-capability-suppressed {
21024      type uint32;
21025      description
21026        "Disabling the extendednexthop encoding
21027         capability";
21028    }15732    }
21029    leaf session-open-mode {15733    leaf session-open-mode {
21030      type Bgp-tcp-mode;15734      type Bgp-tcp-mode;
21031      description15735      description
21032        "TCP open mode to be used ";15736        "TCP open mode to be used ";
21033    }15737    }
21034    leaf bfd {15738    leaf bfd {
21035      type uint32;15739      type uint32;
21036      description15740      description
21037        "Fast failure detection using BFD";15741        "Fast failure detection using BFD";
21038    }15742    }
21039    leaf bfd-mininterval {15743    leaf bfd-mininterval {
21040      type uint32;15744      type uint32;
21041      description15745      description
21042        "BFD Minimum Interval";15746        "BFD Minimum Interval";
21043    }15747    }
21044    leaf bfd-multiplier {15748    leaf bfd-multiplier {
21045      type uint32;15749      type uint32;
21046      description15750      description
21047        "BFD Multiplier";15751        "BFD Multiplier";
21048    }15752    }
21049    leaf tos-type-info {15753    leaf tos-type-info {
21050      type uint8;15754      type uint8;
21051      description15755      description
21052        "Precedence or DSCP type";15756        "Precedence or DSCP type";
21053    }15757    }
21054    leaf tos-value-info {15758    leaf tos-value-info {
21055      type uint8;15759      type uint8;
21056      description15760      description
21057        "Precedence or DSCP value";15761        "Precedence or DSCP value";
21058    }15762    }
21059    leaf nsr-disabled {15763    leaf nsr-disabled {
21060      type uint32;15764      type uint32;
21061      description15765      description
21062        "Support for NSR";15766        "Support for NSR";
21063    }15767    }
21064    leaf graceful-restart-disabled {15768    leaf graceful-restart-disabled {
21065      type uint32;15769      type uint32;
21066      description15770      description
21067        "Support for graceful-restart";15771        "Support for graceful-restart";
21068    }15772    }
n21069    leaf graceful-restart-helper-mode {n
21070      type uint32;
21071      description
21072        "Enable graceful-restart in helper-mode only";
21073    }
21074    leaf nbr-restart-time {15773    leaf nbr-restart-time {
21075      type uint32;15774      type uint32;
21076      units "second";15775      units "second";
21077      description15776      description
21078        "Restart time (in seconds)";15777        "Restart time (in seconds)";
21079    }15778    }
21080    leaf nbr-stale-path-time {15779    leaf nbr-stale-path-time {
21081      type uint32;15780      type uint32;
21082      units "second";15781      units "second";
21083      description15782      description
21084        "Stale-path time(in seconds)";15783        "Stale-path time(in seconds)";
21085    }15784    }
21086    leaf nbr-enforce-first-as-status {15785    leaf nbr-enforce-first-as-status {
21087      type boolean;15786      type boolean;
21088      description15787      description
n21089        "Flag to indicate whether BGPneighbor enforced asn15788        "Neighbor enforce first AS status";
21090         firstautonomous path";
21091    }15789    }
21092    leaf nbr-cluster-id-type-info {15790    leaf nbr-cluster-id-type-info {
21093      type uint8;15791      type uint8;
21094      description15792      description
21095        "Cluster ID Type";15793        "Cluster ID Type";
21096    }15794    }
21097    leaf nbr-cluster-id-info {15795    leaf nbr-cluster-id-info {
21098      type uint32;15796      type uint32;
21099      description15797      description
21100        "Cluster ID value";15798        "Cluster ID value";
21101    }15799    }
21102    leaf ignore-connected-check {15800    leaf ignore-connected-check {
21103      type boolean;15801      type boolean;
21104      description15802      description
21105        "If true, don't do NHconnected check for nbr";15803        "If true, don't do NHconnected check for nbr";
21106    }15804    }
21107    leaf internal-vpn-client {15805    leaf internal-vpn-client {
21108      type boolean;15806      type boolean;
21109      description15807      description
21110        "If true, the VPN client isan iBGP CE peer";15808        "If true, the VPN client isan iBGP CE peer";
21111    }15809    }
21112    leaf addpath-send-capability {15810    leaf addpath-send-capability {
21113      type uint32;15811      type uint32;
21114      description15812      description
21115        "Indicates if addpath send capability is enabled15813        "Indicates if addpath send capability is enabled
21116         or disabled";15814         or disabled";
21117    }15815    }
21118    leaf update-error-handling-no-reset {15816    leaf update-error-handling-no-reset {
21119      type uint32;15817      type uint32;
21120      description15818      description
21121        "Indicates if avoid-reset behavior is enabled15819        "Indicates if avoid-reset behavior is enabled
21122         during update error-handling";15820         during update error-handling";
21123    }15821    }
21124    leaf addpath-receive-capability {15822    leaf addpath-receive-capability {
21125      type uint32;15823      type uint32;
21126      description15824      description
21127        "Indicates if addpath receive capability is15825        "Indicates if addpath receive capability is
21128         enabled or disabled";15826         enabled or disabled";
21129    }15827    }
21130    leaf egress-peer-engineering {15828    leaf egress-peer-engineering {
21131      type uint32;15829      type uint32;
21132      description15830      description
21133        "Indicates egress peer engineering is enabled";15831        "Indicates egress peer engineering is enabled";
21134    }15832    }
n21135    leaf epe-peer-sets {n
21136      type string;
21137      description
21138        "Bitfields representing which EPE peer sets the
21139         neighbor belongs to";
21140    }
21141    leaf epe-peer-segment-id {
21142      type uint32;
21143      description
21144        "Manual segment Index assigned for this neighbor";
21145    }
21146    leaf prefix-validation-disable {15833    leaf prefix-validation-disable {
21147      type uint32;15834      type uint32;
21148      description15835      description
n21149        "Disabeling the BGP bestpathprefix validation";n15836        "Prefix validation disable";
21150    }15837    }
21151    leaf bestpath-use-origin-as-validity {15838    leaf bestpath-use-origin-as-validity {
21152      type uint32;15839      type uint32;
21153      description15840      description
21154        "Bestpath Use Origin-AS Va";15841        "Bestpath Use Origin-AS Va";
21155    }15842    }
21156    leaf prefix-validation-allow-invalid {15843    leaf prefix-validation-allow-invalid {
21157      type uint32;15844      type uint32;
21158      description15845      description
n21159        "Allowing an invalid prefixas the BGP best path";n15846        "Prefix validation allow invalid";
21160    }15847    }
21161    leaf prefix-validation-signal-ibgp {15848    leaf prefix-validation-signal-ibgp {
21162      type uint32;15849      type uint32;
21163      description15850      description
n21164        "Performs a prefix origin validationfor internaln15851        "Prefix validation signal ibgp";
21165         BGP";
21166    }15852    }
21167    leaf neighbor-update-filter-exists {15853    leaf neighbor-update-filter-exists {
21168      type boolean;15854      type boolean;
21169      description15855      description
21170        "Indicates if neighbor filter configuration15856        "Indicates if neighbor filter configuration
21171         exists";15857         exists";
21172    }15858    }
21173    leaf neighbor-update-filter-message-buffer-count {15859    leaf neighbor-update-filter-message-buffer-count {
21174      type uint32;15860      type uint32;
21175      description15861      description
21176        "Count of neighbor filter message buffers";15862        "Count of neighbor filter message buffers";
21177    }15863    }
21178    leaf neighbor-update-filter-message-buffer-is-non-circular {15864    leaf neighbor-update-filter-message-buffer-is-non-circular {
21179      type boolean;15865      type boolean;
21180      description15866      description
21181        "Indicates if neighbor update filter message15867        "Indicates if neighbor update filter message
21182         buffer is circular or not";15868         buffer is circular or not";
21183    }15869    }
21184    leaf neighbor-update-filter-logging-disable {15870    leaf neighbor-update-filter-logging-disable {
21185      type boolean;15871      type boolean;
21186      description15872      description
21187        "Indicates if neighbor filter logging is disabled";15873        "Indicates if neighbor filter logging is disabled";
21188    }15874    }
21189    leaf neighbor-update-filter-attribute-filter-group-name {15875    leaf neighbor-update-filter-attribute-filter-group-name {
21190      type string;15876      type string;
21191      description15877      description
n21192        "Name of the update filter attributefilter of then15878        "Neighbor filter attribute-filter group name";
21193         neighbor";
21194    }15879    }
21195    leaf graceful-shutdown-exists {15880    leaf graceful-shutdown-exists {
21196      type uint32;15881      type uint32;
21197      description15882      description
21198        "re-advertise all routes to and from this15883        "re-advertise all routes to and from this
21199         neighbor with the GSHUT community during15884         neighbor with the GSHUT community during
21200         Shutdown or bring-up";15885         Shutdown or bring-up";
21201    }15886    }
21202    leaf graceful-shutdown-loc-pref {15887    leaf graceful-shutdown-loc-pref {
21203      type uint32;15888      type uint32;
21204      description15889      description
21205        "Local Preference to advertise routes with during15890        "Local Preference to advertise routes with during
21206         Graceful Shutdown to IBGP. Default=No Touch";15891         Graceful Shutdown to IBGP. Default=No Touch";
21207    }15892    }
21208    leaf graceful-shutdown-as-prepends {15893    leaf graceful-shutdown-as-prepends {
21209      type uint32;15894      type uint32;
21210      description15895      description
21211        "Prepend the local AS this many times to the AS15896        "Prepend the local AS this many times to the AS
21212         path of routes advertised during Graceful15897         path of routes advertised during Graceful
21213         Shutdown";15898         Shutdown";
21214    }15899    }
21215    leaf graceful-shutdown-activate {15900    leaf graceful-shutdown-activate {
21216      type uint32;15901      type uint32;
21217      description15902      description
21218        "Graceful Shutdown state is activated";15903        "Graceful Shutdown state is activated";
21219    }15904    }
n21220    leaf graceful-shutdown-bandwidth-aware-mode {n
21221      type Bgp-gshut-bw-mode;
21222      description
21223        "Bandwidth-Aware Graceful-Maintenance mode";
21224    }
21225    leaf graceful-shutdown-bandwidth-aware-low-threshold {
21226      type uint32;
21227      description
21228        "Bandwidth-Aware Graceful-Maintenance Low
21229         threshold";
21230    }
21231    leaf graceful-shutdown-bandwidth-aware-high-threshold {
21232      type uint32;
21233      description
21234        "Bandwidth-Aware Graceful-Maintenance High
21235         threshold";
21236    }
21237    leaf neighbor-remote-as-list-group-name {15905    leaf neighbor-remote-as-list-group-name {
21238      type string;15906      type string;
21239      description15907      description
n21240        "Name of the remote atonomous system list groupn15908        "Neighbor Range remote-as-list group name";
21241         of neighbor";
21242    }15909    }
21243    leaf max-peers {15910    leaf max-peers {
21244      type uint32;15911      type uint32;
21245      description15912      description
21246        "Maximum dynamic nbrs in range";15913        "Maximum dynamic nbrs in range";
21247    }15914    }
21248    leaf idle-watch-time {15915    leaf idle-watch-time {
21249      type uint32;15916      type uint32;
21250      units "second";15917      units "second";
21251      description15918      description
21252        "Idle Watch time(in seconds)";15919        "Idle Watch time(in seconds)";
21253    }15920    }
21254    leaf ao-keychain {15921    leaf ao-keychain {
21255      type string;15922      type string;
21256      description15923      description
21257        "Neighbor AO keychain name";15924        "Neighbor AO keychain name";
21258    }15925    }
21259    leaf ao-include-tcp-options {15926    leaf ao-include-tcp-options {
21260      type uint32;15927      type uint32;
21261      description15928      description
21262        "Include TCP options AO";15929        "Include TCP options AO";
21263    }15930    }
21264    leaf ao-accept-mismatch-connection {15931    leaf ao-accept-mismatch-connection {
21265      type uint32;15932      type uint32;
21266      description15933      description
n21267        "Accepting mismatch connectionfor AO";n15934        "Accept AO mismatched connection";
21268    }
21269    leaf default-policy-action-inbound {
21270      type uint32;
21271      description
21272        "Default Action for a route when inbound policy
21273         definition is not satidfied";
21274    }
21275    leaf default-policy-action-outbound {
21276      type uint32;
21277      description
21278        "Default Action for a route when outbound policy
21279         definition is not satidfied";
21280    }
21281    leaf maximum-prefix-restart-time {
21282      type uint32;
21283      units "second";
21284      description
21285        "Max Prefix Restart timer (in seconds)";
21286    }
21287    leaf default-allowas {
21288      type uint32;
21289      description
21290        "Default allowas_in count";
21291    }15935    }
21292    leaf local-as-replace-as {15936    leaf local-as-replace-as {
21293      type boolean;15937      type boolean;
21294      description15938      description
21295        "Local AS Replace-AS option";15939        "Local AS Replace-AS option";
21296    }15940    }
21297    leaf local-as-dual-as {15941    leaf local-as-dual-as {
21298      type boolean;15942      type boolean;
21299      description15943      description
21300        "Local AS Dual-AS option";15944        "Local AS Dual-AS option";
n21301    }n
21302    leaf evpn-link-bandwidth {
21303      type boolean;
21304      description
21305        "EVPN Link Bandwidth Enabled";
21306    }
21307    leaf evpn-link-bandwidth-type {
21308      type Bgp-evpn-link-bw-edm;
21309      description
21310        "EVPN Link Bandwidth Value-Unit type";
21311    }
21312    leaf evpn-link-bandwidth-weight {
21313      type uint32;
21314      description
21315        "EVPN Link Bandwidth Value-Weight";
21316    }
21317    leaf sent-community-to-neighbor {
21318      type boolean;
21319      description
21320        "Flag Send Community";
21321    }
21322    leaf sent-extended-community-to-neighbor {
21323      type boolean;
21324      description
21325        "Flag Send ExtendedCommunity";
21326    }
21327    leaf dampening {
21328      type Bgp-nbr-dampening;
21329      description
21330        "neighbor route-dampening is enabled";
21331    }
21332    leaf is-as-override-disabled {
21333      type Bgp-nbr-aspath-as-override;
21334      description
21335        "Disable as override";
21336    }
21337    leaf neighbor-disable-peer-as {
21338      type Bgp-nbr-disable-peer-as;
21339      description
21340        "Neighbor Disable Peer AS";
21341    }
21342    leaf nbr-fast-fallover {
21343      type uint32;
21344      description
21345        "Fast Fallover";
21346    }
21347    leaf ipfwd-preferred {
21348      type boolean;
21349      description
21350        "IP Forwarding Enabled";
21351    }15945    }
21352  }15946  }
2135315947
21354  grouping BGP-IPV6-SRPOLICY-ADDR {15948  grouping BGP-IPV6-SRPOLICY-ADDR {
21355    description15949    description
21356      "BGP IPV6 SRPOLICY ADDR";15950      "BGP IPV6 SRPOLICY ADDR";
21357    leaf ipv6-srpolicy-address {15951    leaf ipv6-srpolicy-address {
21358      type yang:hex-string;15952      type yang:hex-string;
21359      description15953      description
n21360        "IPv6 address of thesrpolicy";n15954        "ipv6 srpolicy address";
21361    }15955    }
21362  }15956  }
2136315957
21364  grouping IPV6-SR-POLICY-ADDRESS-TYPE {15958  grouping IPV6-SR-POLICY-ADDRESS-TYPE {
21365    description15959    description
21366      "IPv6 SR Policy Address type";15960      "IPv6 SR Policy Address type";
21367    uses BGP-IPV6-SRPOLICY-ADDR;15961    uses BGP-IPV6-SRPOLICY-ADDR;
21368  }15962  }
2136915963
21370  grouping BGP-IPV4-SRPOLICY-ADDR {15964  grouping BGP-IPV4-SRPOLICY-ADDR {
21371    description15965    description
21372      "BGP IPV4 SRPOLICY ADDR";15966      "BGP IPV4 SRPOLICY ADDR";
21373    leaf ipv4-srpolicy-address {15967    leaf ipv4-srpolicy-address {
21374      type yang:hex-string;15968      type yang:hex-string;
21375      description15969      description
n21376        "IPv4 address of thesrpolicy";n15970        "ipv4 srpolicy address";
21377    }15971    }
21378  }15972  }
2137915973
21380  grouping IPV4-SR-POLICY-ADDRESS-TYPE {15974  grouping IPV4-SR-POLICY-ADDRESS-TYPE {
21381    description15975    description
21382      "IPv4 SR Policy Address type";15976      "IPv4 SR Policy Address type";
21383    uses BGP-IPV4-SRPOLICY-ADDR;15977    uses BGP-IPV4-SRPOLICY-ADDR;
21384  }15978  }
2138515979
21386  grouping BGP-L2VPN-MSPW-ADDR {15980  grouping BGP-L2VPN-MSPW-ADDR {
21387    description15981    description
21388      "BGP L2VPN MSPW ADDR";15982      "BGP L2VPN MSPW ADDR";
21389    leaf l2vpn-address {15983    leaf l2vpn-address {
21390      type yang:hex-string;15984      type yang:hex-string;
21391      description15985      description
n21392        "L2vpn address of the BGP mspw";n15986        "l2vpn address";
21393    }15987    }
21394  }15988  }
2139515989
21396  grouping L2VPN-MSPW-ADDRESS-TYPE {15990  grouping L2VPN-MSPW-ADDRESS-TYPE {
21397    description15991    description
21398      "L2VPN MSPW Address type";15992      "L2VPN MSPW Address type";
21399    uses BGP-L2VPN-MSPW-ADDR;15993    uses BGP-L2VPN-MSPW-ADDR;
n21400  }n
21401 
21402  grouping BGP-L2VPN-EVPN-ADDR {
21403    description
21404      "BGP L2VPN EVPN ADDR";
21405    leaf l2vpn-evpn-address {
21406      type yang:hex-string;
21407      description
21408        "l2vpn evpn address";
21409    }
21410  }
21411 
21412  grouping L2VPN-EVPN-ADDRESS-TYPE {
21413    description
21414      "L2VPN EVPN Address type";
21415    uses BGP-L2VPN-EVPN-ADDR;
21416  }15994  }
2141715995
21418  grouping BGP-L2VPN-ADDR {15996  grouping BGP-L2VPN-ADDR {
21419    description15997    description
21420      "BGP L2VPN ADDR";15998      "BGP L2VPN ADDR";
21421    leaf l2vpn-address {15999    leaf l2vpn-address {
21422      type yang:hex-string;16000      type yang:hex-string;
21423      description16001      description
n21424        "L2vpn address of the protocol BGP";n16002        "l2vpn address";
21425    }16003    }
21426  }16004  }
2142716005
21428  grouping BGP-ADDRTYPE {16006  grouping BGP-ADDRTYPE {
21429    description16007    description
21430      "BGP ADDRTYPE";16008      "BGP ADDRTYPE";
21431    container l2vpn-vpls-address {16009    container l2vpn-vpls-address {
21432      when "../afi = 'l2vpn-vpls'" {16010      when "../afi = 'l2vpn-vpls'" {
21433        description16011        description
21434          "../AFI = 'L2VPN_VPLS'";16012          "../AFI = 'L2VPN_VPLS'";
21435      }16013      }
21436      description16014      description
21437        "L2VPN VPLS Addr";16015        "L2VPN VPLS Addr";
21438      uses BGP-L2VPN-ADDR;16016      uses BGP-L2VPN-ADDR;
21439    }16017    }
n21440    container l2vpn-evpn-address {n
21441      when "../afi = 'l2vpn-evpn'" {
21442        description
21443          "../AFI = 'L2VPN_EVPN'";
21444      }
21445      description
21446        "L2VPN EVPN Addr";
21447      uses L2VPN-EVPN-ADDRESS-TYPE;
21448    }
21449    container l2vpn-mspw-address {16018    container l2vpn-mspw-address {
21450      when "../afi = 'l2vpn-mspw'" {16019      when "../afi = 'l2vpn-mspw'" {
21451        description16020        description
21452          "../AFI = 'L2VPN_MSPW'";16021          "../AFI = 'L2VPN_MSPW'";
21453      }16022      }
21454      description16023      description
21455        "L2VPN MSPW Addr";16024        "L2VPN MSPW Addr";
21456      uses L2VPN-MSPW-ADDRESS-TYPE;16025      uses L2VPN-MSPW-ADDRESS-TYPE;
21457    }16026    }
21458    container ipv4-sr-policy-address {16027    container ipv4-sr-policy-address {
21459      when "../afi = 'ipv4-sr-policy'" {16028      when "../afi = 'ipv4-sr-policy'" {
21460        description16029        description
21461          "../AFI = 'IPv4SRPolicy'";16030          "../AFI = 'IPv4SRPolicy'";
21462      }16031      }
21463      description16032      description
21464        "IPV4 Policy Addr";16033        "IPV4 Policy Addr";
21465      uses IPV4-SR-POLICY-ADDRESS-TYPE;16034      uses IPV4-SR-POLICY-ADDRESS-TYPE;
21466    }16035    }
21467    container ipv6-sr-policy-address {16036    container ipv6-sr-policy-address {
21468      when "../afi = 'ipv6-sr-policy'" {16037      when "../afi = 'ipv6-sr-policy'" {
21469        description16038        description
21470          "../AFI = 'IPv6SRPolicy'";16039          "../AFI = 'IPv6SRPolicy'";
21471      }16040      }
21472      description16041      description
21473        "IPV6 Policy Addr";16042        "IPV6 Policy Addr";
21474      uses IPV6-SR-POLICY-ADDRESS-TYPE;16043      uses IPV6-SR-POLICY-ADDRESS-TYPE;
21475    }16044    }
21476    leaf afi {16045    leaf afi {
21477      type Bgp-afi;16046      type Bgp-afi;
21478      description16047      description
21479        "AFI";16048        "AFI";
21480    }16049    }
21481    leaf ipv4-address {16050    leaf ipv4-address {
21482      when "../afi = 'ipv4'" {16051      when "../afi = 'ipv4'" {
21483        description16052        description
21484          "../AFI = 'IPv4'";16053          "../AFI = 'IPv4'";
21485      }16054      }
21486      type inet:ipv4-address;16055      type inet:ipv4-address;
21487      description16056      description
21488        "IPv4 Addr";16057        "IPv4 Addr";
21489    }16058    }
21490    leaf ipv4-mcast-address {16059    leaf ipv4-mcast-address {
21491      when "../afi = 'ipv4-multicast'" {16060      when "../afi = 'ipv4-multicast'" {
21492        description16061        description
21493          "../AFI = 'IPv4Multicast'";16062          "../AFI = 'IPv4Multicast'";
21494      }16063      }
21495      type inet:ipv4-address;16064      type inet:ipv4-address;
21496      description16065      description
21497        "IPv4 Mcast Addr";16066        "IPv4 Mcast Addr";
21498    }16067    }
21499    leaf ipv4-label-address {16068    leaf ipv4-label-address {
21500      when "../afi = 'ipv4-labeled'" {16069      when "../afi = 'ipv4-labeled'" {
21501        description16070        description
21502          "../AFI = 'IPv4Labeled'";16071          "../AFI = 'IPv4Labeled'";
21503      }16072      }
21504      type inet:ipv4-address;16073      type inet:ipv4-address;
21505      description16074      description
21506        "IPv4 Label Addr";16075        "IPv4 Label Addr";
21507    }16076    }
21508    leaf ipv4-tunnel-address {16077    leaf ipv4-tunnel-address {
21509      when "../afi = 'ipv4-tunnel'" {16078      when "../afi = 'ipv4-tunnel'" {
21510        description16079        description
21511          "../AFI = 'IPv4Tunnel'";16080          "../AFI = 'IPv4Tunnel'";
21512      }16081      }
21513      type Ipv4-tunnel-address;16082      type Ipv4-tunnel-address;
21514      description16083      description
21515        "IPv4 Tunnel";16084        "IPv4 Tunnel";
21516    }16085    }
21517    leaf ipv4-mdt-address {16086    leaf ipv4-mdt-address {
21518      when "../afi = 'ipv4-mdt'" {16087      when "../afi = 'ipv4-mdt'" {
21519        description16088        description
21520          "../AFI = 'IPv4MDT'";16089          "../AFI = 'IPv4MDT'";
21521      }16090      }
21522      type Ipv4-mdt-address;16091      type Ipv4-mdt-address;
21523      description16092      description
21524        "IPv4 MDT Addr";16093        "IPv4 MDT Addr";
21525    }16094    }
21526    leaf ipv4vpn-address {16095    leaf ipv4vpn-address {
21527      when "../afi = 'vpnv4'" {16096      when "../afi = 'vpnv4'" {
21528        description16097        description
21529          "../AFI = 'VPNv4'";16098          "../AFI = 'VPNv4'";
21530      }16099      }
21531      type inet:ipv4-address;16100      type inet:ipv4-address;
21532      description16101      description
21533        "IPv4 VPN Addr";16102        "IPv4 VPN Addr";
21534    }16103    }
21535    leaf ipv4vpna-mcastddress {16104    leaf ipv4vpna-mcastddress {
21536      when "../afi = 'vpnv4-multicast'" {16105      when "../afi = 'vpnv4-multicast'" {
21537        description16106        description
21538          "../AFI = 'VPNv4Multicast'";16107          "../AFI = 'VPNv4Multicast'";
21539      }16108      }
21540      type inet:ipv4-address;16109      type inet:ipv4-address;
21541      description16110      description
21542        "IPv4 VPN Mcast Addr";16111        "IPv4 VPN Mcast Addr";
21543    }16112    }
21544    leaf ipv6-address {16113    leaf ipv6-address {
21545      when "../afi = 'ipv6'" {16114      when "../afi = 'ipv6'" {
21546        description16115        description
21547          "../AFI = 'IPv6'";16116          "../AFI = 'IPv6'";
21548      }16117      }
21549      type Ipv6-address;16118      type Ipv6-address;
21550      description16119      description
21551        "IPV6 Addr";16120        "IPV6 Addr";
21552    }16121    }
21553    leaf ipv6-mcast-address {16122    leaf ipv6-mcast-address {
21554      when "../afi = 'ipv6-multicast'" {16123      when "../afi = 'ipv6-multicast'" {
21555        description16124        description
21556          "../AFI = 'IPv6Multicast'";16125          "../AFI = 'IPv6Multicast'";
21557      }16126      }
21558      type Ipv6-address;16127      type Ipv6-address;
21559      description16128      description
21560        "IPV6 Mcast Addr";16129        "IPV6 Mcast Addr";
21561    }16130    }
21562    leaf ipv6-label-address {16131    leaf ipv6-label-address {
21563      when "../afi = 'ipv6-labeled'" {16132      when "../afi = 'ipv6-labeled'" {
21564        description16133        description
21565          "../AFI = 'IPv6Labeled'";16134          "../AFI = 'IPv6Labeled'";
21566      }16135      }
21567      type Ipv6-address;16136      type Ipv6-address;
21568      description16137      description
21569        "IPv6 Label Addr";16138        "IPv6 Label Addr";
21570    }16139    }
21571    leaf ipv6vpn-address {16140    leaf ipv6vpn-address {
21572      when "../afi = 'vpnv6'" {16141      when "../afi = 'vpnv6'" {
21573        description16142        description
21574          "../AFI = 'VPNv6'";16143          "../AFI = 'VPNv6'";
21575      }16144      }
21576      type Ipv6-address;16145      type Ipv6-address;
21577      description16146      description
21578        "IPv6 VPN Addr";16147        "IPv6 VPN Addr";
21579    }16148    }
21580    leaf ipv6vpn-mcast-address {16149    leaf ipv6vpn-mcast-address {
21581      when "../afi = 'vpnv6-multicast'" {16150      when "../afi = 'vpnv6-multicast'" {
21582        description16151        description
21583          "../AFI = 'VPNv6Multicast'";16152          "../AFI = 'VPNv6Multicast'";
21584      }16153      }
21585      type Ipv6-address;16154      type Ipv6-address;
21586      description16155      description
21587        "IPv6 VPN Mcast Addr";16156        "IPv6 VPN Mcast Addr";
21588    }16157    }
21589    leaf rt-constraint-address {16158    leaf rt-constraint-address {
21590      when "../afi = 'rt-constraint'" {16159      when "../afi = 'rt-constraint'" {
21591        description16160        description
21592          "../AFI = 'RTConstraint'";16161          "../AFI = 'RTConstraint'";
21593      }16162      }
21594      type Rt-constraint-address;16163      type Rt-constraint-address;
21595      description16164      description
21596        "RT Constrt Addr";16165        "RT Constrt Addr";
21597    }16166    }
21598    leaf ipv6mvpn-address {16167    leaf ipv6mvpn-address {
21599      when "../afi = 'ipv6-mvpn'" {16168      when "../afi = 'ipv6-mvpn'" {
21600        description16169        description
21601          "../AFI = 'IPv6MVPN'";16170          "../AFI = 'IPv6MVPN'";
21602      }16171      }
21603      type Ipv6mvpn-address;16172      type Ipv6mvpn-address;
21604      description16173      description
21605        "MVPN addr";16174        "MVPN addr";
21606    }16175    }
21607    leaf ipv4mvpn-address {16176    leaf ipv4mvpn-address {
21608      when "../afi = 'ipv4-mvpn'" {16177      when "../afi = 'ipv4-mvpn'" {
21609        description16178        description
21610          "../AFI = 'IPv4MVPN'";16179          "../AFI = 'IPv4MVPN'";
21611      }16180      }
21612      type Ipv4mvpn-address;16181      type Ipv4mvpn-address;
21613      description16182      description
21614        "MVPN4 addr";16183        "MVPN4 addr";
21615    }16184    }
nn16185    leaf l2vpn-evpn-address {
16186      when "../afi = 'l2vpn-evpn'" {
16187        description
16188          "../AFI = 'L2VPN_EVPN'";
16189      }
16190      type L2vpn-evpn-address;
16191      description
16192        "L2VPN EVPN Addr";
16193    }
21616    leaf ls-ls-address {16194    leaf ls-ls-address {
21617      when "../afi = 'ls-ls'" {16195      when "../afi = 'ls-ls'" {
21618        description16196        description
21619          "../AFI = 'LS_LS'";16197          "../AFI = 'LS_LS'";
21620      }16198      }
21621      type Ls-ls-address;16199      type Ls-ls-address;
21622      description16200      description
21623        "LINKSTATE LINKSTATE Addr";16201        "LINKSTATE LINKSTATE Addr";
21624    }16202    }
21625    leaf ipv4-flowspec-address {16203    leaf ipv4-flowspec-address {
21626      when "../afi = 'ipv4-flowspec'" {16204      when "../afi = 'ipv4-flowspec'" {
21627        description16205        description
21628          "../AFI = 'IPv4Flowspec'";16206          "../AFI = 'IPv4Flowspec'";
21629      }16207      }
21630      type Ipv4-flowspec-address;16208      type Ipv4-flowspec-address;
21631      description16209      description
21632        "IPV4 Flowspec Addr";16210        "IPV4 Flowspec Addr";
21633    }16211    }
21634    leaf ipv6-flowspec-address {16212    leaf ipv6-flowspec-address {
21635      when "../afi = 'ipv6-flowspec'" {16213      when "../afi = 'ipv6-flowspec'" {
21636        description16214        description
21637          "../AFI = 'IPv6Flowspec'";16215          "../AFI = 'IPv6Flowspec'";
21638      }16216      }
21639      type Ipv6-flowspec-address;16217      type Ipv6-flowspec-address;
21640      description16218      description
21641        "IPV6 Flowspec Addr";16219        "IPV6 Flowspec Addr";
21642    }16220    }
21643    leaf ipv4vpn-flowspec-address {16221    leaf ipv4vpn-flowspec-address {
21644      when "../afi = 'vpnv4-flowspec'" {16222      when "../afi = 'vpnv4-flowspec'" {
21645        description16223        description
21646          "../AFI = 'VPNv4Flowspec'";16224          "../AFI = 'VPNv4Flowspec'";
21647      }16225      }
21648      type Ipv4-flowspec-address;16226      type Ipv4-flowspec-address;
21649      description16227      description
21650        "IPV4 VPN Flowspec Addr";16228        "IPV4 VPN Flowspec Addr";
21651    }16229    }
21652    leaf ipv6vpn-flowspec-address {16230    leaf ipv6vpn-flowspec-address {
21653      when "../afi = 'vpnv6-flowspec'" {16231      when "../afi = 'vpnv6-flowspec'" {
21654        description16232        description
21655          "../AFI = 'VPNv6Flowspec'";16233          "../AFI = 'VPNv6Flowspec'";
21656      }16234      }
21657      type Ipv6-flowspec-address;16235      type Ipv6-flowspec-address;
21658      description16236      description
21659        "IPV6 VPN Flowspec Addr";16237        "IPV6 VPN Flowspec Addr";
21660    }16238    }
21661  }16239  }
2166216240
21663  grouping BGP-CONFIG-ENTITY-BAG {16241  grouping BGP-CONFIG-ENTITY-BAG {
21664    description16242    description
21665      "BGP entity config information";16243      "BGP entity config information";
21666    container neighbor-address-xr {16244    container neighbor-address-xr {
21667      description16245      description
21668        "Neighbor Address";16246        "Neighbor Address";
21669      uses BGP-ADDRTYPE;16247      uses BGP-ADDRTYPE;
21670    }16248    }
21671    container af-independent-config {16249    container af-independent-config {
21672      description16250      description
n21673        "BGP address-family independentconfiguration";n16251        "AF-independent config";
21674      uses BGP-AF-INDEP;16252      uses BGP-AF-INDEP;
21675    }16253    }
21676    leaf group-name {16254    leaf group-name {
21677      type string;16255      type string;
21678      description16256      description
21679        "Entity/group name";16257        "Entity/group name";
21680    }16258    }
21681    leaf configuration-type {16259    leaf configuration-type {
21682      type Bgp-entities;16260      type Bgp-entities;
21683      description16261      description
21684        "Entity type";16262        "Entity type";
21685    }16263    }
21686    leaf address-family-identifier {16264    leaf address-family-identifier {
n21687      type string;n16265      type uint8;
21688      description16266      description
21689        "AF identifier";16267        "AF identifier";
21690    }16268    }
21691    list af-dependent-config {16269    list af-dependent-config {
21692      max-elements "25";16270      max-elements "25";
21693      description16271      description
t21694        "Dependent configuration peraddress-family";t16272        "Af-dependent config";
21695      uses BGP-AF-DEP;16273      uses BGP-AF-DEP;
21696    }16274    }
21697  }16275  }
21698}16276}
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op